aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-11-09 23:34:47 +0800
committerAaron LI <aly@aaronly.me>2018-11-09 23:34:47 +0800
commitbe8a0787ac347c55abb408d7217bf381fade71de (patch)
treed5850631658748bfb3db0e84908fc41a2ef38dbe
parentc8182e59fe51cfa3deb7b725707e65de61a093d5 (diff)
downloaddotfiles-be8a0787ac347c55abb408d7217bf381fade71de.tar.bz2
vim: Map <F1> to <Esc>
-rw-r--r--_vimrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/_vimrc b/_vimrc
index 11c06ba..f144aa0 100644
--- a/_vimrc
+++ b/_vimrc
@@ -286,6 +286,10 @@ map <leader>x :e ~/buffer.md<cr>
" Toggle paste mode on and off
map <leader>pp :setlocal paste!<cr>
+" Disable F1 to open the help
+map <F1> <Esc>
+imap <F1> <Esc>
+
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Helper functions