Removed unused plugins - added comments
This commit is contained in:
35
.vimrc
35
.vimrc
@@ -31,9 +31,8 @@ set nowrap
|
|||||||
" Search and Substitute
|
" Search and Substitute
|
||||||
set gdefault " use global flag by default in s: commands
|
set gdefault " use global flag by default in s: commands
|
||||||
set hlsearch " highlight searches
|
set hlsearch " highlight searches
|
||||||
set ignorecase
|
set ignorecase " ignore case in searches
|
||||||
set smartcase " don't ignore capitals in searches
|
set smartcase " don't ignore capitals in searches
|
||||||
nnoremap <leader><space> :nohls <enter>
|
|
||||||
|
|
||||||
" Tabs
|
" Tabs
|
||||||
set tabstop=4
|
set tabstop=4
|
||||||
@@ -52,17 +51,22 @@ else
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
""" Basics
|
""" Basics
|
||||||
|
" ...one step above 'nocompatible' mode: a universal set of defaults that (hopefully) everyone can agree on.
|
||||||
Plug 'tpope/vim-sensible'
|
Plug 'tpope/vim-sensible'
|
||||||
|
|
||||||
|
" Syntax hilights for multiple languages
|
||||||
Plug 'sheerun/vim-polyglot'
|
Plug 'sheerun/vim-polyglot'
|
||||||
|
|
||||||
|
" one stop shop for vim colorschemes.
|
||||||
Plug 'flazz/vim-colorschemes'
|
Plug 'flazz/vim-colorschemes'
|
||||||
|
|
||||||
""" General Functionality
|
""" General Functionality
|
||||||
Plug 'scrooloose/syntastic'
|
"Plug 'scrooloose/syntastic'
|
||||||
Plug 'tpope/vim-commentary'
|
"Plug 'tpope/vim-commentary'
|
||||||
|
|
||||||
""" Particular Functionality
|
""" Particular Functionality
|
||||||
Plug 'vim-pandoc/vim-pandoc-syntax'
|
"Plug 'vim-pandoc/vim-pandoc-syntax'
|
||||||
Plug 'godlygeek/tabular'
|
"Plug 'godlygeek/tabular'
|
||||||
|
|
||||||
""" Command Line Fuzzy Finder - https://github.com/junegunn/fzf
|
""" Command Line Fuzzy Finder - https://github.com/junegunn/fzf
|
||||||
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
|
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
|
||||||
@@ -84,21 +88,21 @@ colorscheme marklar
|
|||||||
" ----------------------------------------------------------------------------------------------------
|
" ----------------------------------------------------------------------------------------------------
|
||||||
" ==> Autocompletion
|
" ==> Autocompletion
|
||||||
|
|
||||||
let s:python_version=3
|
"let s:python_version=3
|
||||||
echomsg 'Using python'.s:python_version
|
"echomsg 'Using python'.s:python_version
|
||||||
set completeopt=menuone,noinsert,noselect
|
set completeopt=menuone,noinsert,noselect
|
||||||
set shortmess+=c " Turn off completion messages
|
set shortmess+=c " Turn off completion messages
|
||||||
|
|
||||||
" ----------------------------------------------------------------------------------------------------
|
" ----------------------------------------------------------------------------------------------------
|
||||||
" ==> Pandoc
|
" ==> Pandoc
|
||||||
|
|
||||||
augroup pandoc_syntax
|
"augroup pandoc_syntax
|
||||||
au! BufNewFile,BufFilePre,BufRead *.md set filetype=markdown.pandoc
|
" au! BufNewFile,BufFilePre,BufRead *.md set filetype=markdown.pandoc
|
||||||
au! BufNewFile,BufFilePre,BufRead *.markdown set filetype=markdown.pandoc
|
" au! BufNewFile,BufFilePre,BufRead *.markdown set filetype=markdown.pandoc
|
||||||
augroup END
|
"augroup END
|
||||||
|
|
||||||
let g:pandoc#syntax#conceal#use = 0
|
"let g:pandoc#syntax#conceal#use = 0
|
||||||
let g:pandoc#syntax#codeblocks#embeds#langs = ['python', 'vim', 'make', 'bash=sh', 'html', 'css', 'scss', 'javascript']
|
"let g:pandoc#syntax#codeblocks#embeds#langs = ['python', 'vim', 'make', 'bash=sh', 'html', 'css', 'scss', 'javascript']
|
||||||
|
|
||||||
" ----------------------------------------------------------------------------------------------------
|
" ----------------------------------------------------------------------------------------------------
|
||||||
" => Statusline
|
" => Statusline
|
||||||
@@ -120,6 +124,9 @@ set statusline+=\ %P " percent through file
|
|||||||
" -----------------------------------------------------------------------------------------------------
|
" -----------------------------------------------------------------------------------------------------
|
||||||
" => Keymaps: Doing more things at once
|
" => Keymaps: Doing more things at once
|
||||||
|
|
||||||
|
" turn off search hilight
|
||||||
|
nnoremap <leader><space> :nohls <enter>
|
||||||
|
|
||||||
" -----------------------------------------------------------------------------------------------------
|
" -----------------------------------------------------------------------------------------------------
|
||||||
" ===> Keymaps: Buffers
|
" ===> Keymaps: Buffers
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user