summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugues Hiegel <hugues@hiegel.fr>2011-10-19 15:23:55 +0200
committerHugues Hiegel <hugues@hiegel.fr>2011-10-19 15:23:55 +0200
commit3d4416658c2e830546f81eb9e5a43266a848608a (patch)
treeba7652a290605241c3266071f98fdd23c463a48f
parente45c7159ed5a93ac4d2b6d20bbcacf25a88ab8cd (diff)
[Vim] normal bindings
-rw-r--r--vimrc6
1 files changed, 3 insertions, 3 deletions
diff --git a/vimrc b/vimrc
index 700b231..d5545c3 100644
--- a/vimrc
+++ b/vimrc
@@ -46,7 +46,7 @@ noremap <C-k> <C-y>
noremap <C-j> <C-e>
"Macros
-map <F2> :source ~/.vim/bépo
+nmap <F2> :source ~/.vim/bépo
" folding
set foldmethod=indent
@@ -63,7 +63,7 @@ map <F9> za
map <F10> :setlocal invfoldenable<CR>
"buffer moving
-map <C-B> :bN<CR>
+nmap <C-B> :bN<CR>
" When editing a file, always jump to the last known cursor position.
" Don't do it when the position is invalid or when inside an event handler
@@ -123,7 +123,7 @@ map Y yyp:s/[^ ]/=/g<CR>:noh<CR>
map <ESC>Q :s/^/> /<CR>
map <ESC>q :s/^[ ]*>[ ]*//<CR>
-map <ESC>u :noh<CR>
+map <silent> <ESC>u :noh<CR>
runtime! ftplugin/man.vim
map K :Man <C-R>=expand("<cword>")<CR><CR>