diff options
Diffstat (limited to '.vimrc')
| -rw-r--r-- | .vimrc | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -16,7 +16,7 @@ set nocompatible set wrap set textwidth=79 set formatoptions=qrn1 -set colorcolumn=85 +set colorcolumn=81 set modelines=0 set tabstop=4 @@ -56,7 +56,6 @@ set undodir=~/.vim/tmp/undo// set backupdir=~/.vim/tmp/backup// set directory=~/.vim/tmp/swap// -" Make those folders automatically if they don't already exist. if !isdirectory(expand(&undodir)) call mkdir(expand(&undodir), "p") endif @@ -82,7 +81,10 @@ inoremap <left> <nop> inoremap <right> <nop> nnoremap j gj nnoremap k gk -noremap <F1> <Esc> +nnoremap <F1> :NERDTreeToggle<cr> +nnoremap <F2> :TagbarToggle<cr> +nnoremap <F3> :RainbowParenthesesToggleAll<cr> +nnoremap <c-b> :CtrlPBuffer<cr> noremap gV '[V'] " allows for sequential indent/desindent by reselecting the text @@ -114,7 +116,6 @@ nnoremap <S-Space> zA vnoremap <S-Space> zA let g:pymode_lint_write = 0 -let g:EasyMotion_leader_key = '<Leader>' autocmd CursorMovedI * if pumvisible() == 0|silent! pclose|endif autocmd InsertLeave * if pumvisible() == 0|silent! pclose|endif |
