summaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
authorGravatar Robin Obůrka <robin.oburka@nic.cz> 2014-05-09 10:05:44 +0200
committerGravatar Robin Obůrka <robin.oburka@nic.cz> 2014-05-09 10:05:44 +0200
commit1928c1e6fe23250aa45d93aadac5f23c1a6ea8d2 (patch)
treeca2ee5d890bee8d7009c4959352b0f944c7db48f /.vimrc
parentFix "highlite redundant spaces" function (diff)
downloadvim_sync-1928c1e6fe23250aa45d93aadac5f23c1a6ea8d2.tar.xz
Block help on F1 key
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index 3f858c4..4650aa3 100644
--- a/.vimrc
+++ b/.vimrc
@@ -132,6 +132,11 @@ inoremap KJ <ESC>
inoremap Kj <ESC>
inoremap kJ <ESC>
+"don't you hate when you accidentally hit F1?
+inoremap <F1> <ESC>
+nnoremap <F1> <ESC>
+vnoremap <F1> <ESC>
+
"windows changing
nnoremap <C-h> <C-W>h
nnoremap <C-j> <C-W>j