summaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
authorThibaut Horel <thibaut.horel@gmail.com>2013-04-15 21:38:41 +0200
committerThibaut Horel <thibaut.horel@gmail.com>2013-04-15 21:38:41 +0200
commit7b540408efb6905f4040b240238b6c1842eb953d (patch)
treec744a29442d2bfeee6d9e59ba3e03c5ed2578538 /.vimrc
parent7f52fbd1ffee5c32c76fcba96477dc106ac249ea (diff)
downloaddotfiles-7b540408efb6905f4040b240238b6c1842eb953d.tar.gz
[Vim] new shortcuts in vimrc
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc9
1 files changed, 5 insertions, 4 deletions
diff --git a/.vimrc b/.vimrc
index e1f4093..6953ff2 100644
--- a/.vimrc
+++ b/.vimrc
@@ -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