diff options
| author | Anton Bobov <abobov@gmail.com> | 2014-07-04 20:15:38 +0600 |
|---|---|---|
| committer | Anton Bobov <abobov@gmail.com> | 2014-07-04 20:15:38 +0600 |
| commit | 749fbb5c055c26ddccf127ef245d27c5766b8e21 (patch) | |
| tree | 723707694f13385891b3b7429006973583597a82 | |
| parent | 5a1d947e1b0fa31dba28695558c1a6013f33918d (diff) | |
Vimrc update.
| -rw-r--r-- | files/.vimrc | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/files/.vimrc b/files/.vimrc index 92d3bae..a942012 100644 --- a/files/.vimrc +++ b/files/.vimrc @@ -149,6 +149,9 @@ noremap <Down> <Nop> noremap <Left> <Nop> noremap <Right> <Nop> +nnoremap <Space> za +vnoremap <Space> za + nnoremap <Leader>d "_d vnoremap <Leader>d "_d @@ -195,10 +198,17 @@ nnoremap <C-p> :cprevious<CR>z. let g:surround_171="« \r »" let g:surround_187="«\r»" " Syntastic{{{2 -" Set syntastic passive mode -let g:syntastic_mode_map = { 'mode': 'passive', - \ 'active_filetypes': [], - \ 'passive_filetypes': [] } +let g:syntastic_check_on_open = 0 +let g:syntastic_check_on_wq = 0 +let g:syntastic_auto_jump = 0 +let g:syntastic_java_checker = 'javac' +let g:syntastic_mode_map = { + \ 'mode': 'passive', + \ 'active_filetypes': [], + \ 'passive_filetypes': ['java'] + \ } + +nnoremap <Leader>C :SyntasticCheck<CR> " Taglist{{{2 nnoremap <silent> <F8> :Tlist<CR> @@ -208,7 +218,10 @@ nnoremap '. :FufFileWithCurrentBufferDir<CR> nnoremap 'f :FufFile<CR> nnoremap 'h :FufFile $HOME/<CR> nnoremap 'k :FufBuffer<CR> +" NERD Tree{{{2 +noremap <F2> :NERDTreeToggle<CR> +noremap <F2> <Esc>:NERDTreeToggle<CR> " Load custom local config{{{1 let s:local_vimrc=$MYVIMRC . ".local" if filereadable(s:local_vimrc) |
