Update vimrc

This commit is contained in:
2016-09-02 16:38:34 +03:00
parent 4cbf0ecac9
commit e0bf72c3c7

11
.vimrc
View File

@@ -51,10 +51,10 @@ Plugin 'tpope/vim-surround'
Plugin 'kien/ctrlp.vim' Plugin 'kien/ctrlp.vim'
Plugin 'whatyouhide/vim-gotham' Plugin 'whatyouhide/vim-gotham'
Plugin 'ervandew/supertab' Plugin 'ervandew/supertab'
" Plugin 'farseer90718/vim-taskwarrior'
Plugin 'mileszs/ack.vim' Plugin 'mileszs/ack.vim'
Plugin 'godlygeek/tabular' Plugin 'godlygeek/tabular'
Plugin 'nathanaelkane/vim-indent-guides' Plugin 'nathanaelkane/vim-indent-guides'
Plugin 'farseer90718/vim-taskwarrior'
Plugin 'scrooloose/syntastic' Plugin 'scrooloose/syntastic'
Plugin 'syngan/vim-vimlint' Plugin 'syngan/vim-vimlint'
@@ -89,7 +89,7 @@ let g:NERDCompactSexyComs = 1
" Align line-wise comment delimiters flush left instead of following code indentation " Align line-wise comment delimiters flush left instead of following code indentation
let g:NERDDefaultAlign = 'left' let g:NERDDefaultAlign = 'left'
" Allow commenting and inverting empty lines (useful when commenting a region) " Allow commenting and inverting empty lines (useful when commenting a region)
let g:NERDCommentEmptyLines = 0 let g:NERDCommentEmptyLines = 1
" Enable trimming of trailing whitespace when uncommenting " Enable trimming of trailing whitespace when uncommenting
let g:NERDTrimTrailingWhitespace = 0 let g:NERDTrimTrailingWhitespace = 0
@@ -100,6 +100,10 @@ let g:nerdtree_tabs_autoclose = 0
" Snipmate " Snipmate
imap <S-Enter> <Plug>snipMateNextOrTrigger imap <S-Enter> <Plug>snipMateNextOrTrigger
" YouCompleteMe
let g:ycm_key_list_select_completion = ['<TAB>']
let g:ycm_key_list_previous_completion = ['<S-TAB>']
" Syntastic " Syntastic
" let g:syntastic_ruby_checkers = ['mri'] " let g:syntastic_ruby_checkers = ['mri']
"let g:syntastic_shell = "/bin/sh" "let g:syntastic_shell = "/bin/sh"
@@ -136,6 +140,7 @@ let g:calendar_focus_today = 1
au BufRead,BufNewFile *.rabl setf ruby au BufRead,BufNewFile *.rabl setf ruby
au BufRead,BufNewFile *.arb setf ruby au BufRead,BufNewFile *.arb setf ruby
au BufRead,BufNewFile *.tag setf coffee " riotjs tags
" silent! nmap <C-f> :FufLine<CR> " silent! nmap <C-f> :FufLine<CR>
" silent! nmap <C-g> :FufCoverageFile<CR> " silent! nmap <C-g> :FufCoverageFile<CR>
@@ -217,7 +222,7 @@ set smarttab
set expandtab set expandtab
set colorcolumn=80,120 set colorcolumn=80,120
hi ColorColumn guibg=Black " hi ColorColumn guibg=Black
set nostartofline " Dont reset cursor to start of line when moving around. set nostartofline " Dont reset cursor to start of line when moving around.
set noeol " Dont add empty newlines at the end of files set noeol " Dont add empty newlines at the end of files