summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-08-05 23:48:00 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-08-05 23:48:00 +0200
commite652a883cfa7c1a72ff27f4a5d020c0412718737 (patch)
tree9d36ae65a391f8224b954cb2ba857430a6747ad2
parent7bada22e6623e366172cfd30b70cebf6792d7373 (diff)
downloadvim-e652a883cfa7c1a72ff27f4a5d020c0412718737.zip
vim-e652a883cfa7c1a72ff27f4a5d020c0412718737.tar.gz
vimrc: map alt-space to Esc
-rw-r--r--vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index cc63092..79443b1 100644
--- a/vimrc
+++ b/vimrc
@@ -53,6 +53,9 @@ set incsearch " do incremental searching
set number " show line number
set showmode " show current mode
+" nap alt-space to Esc
+:imap <A-Space> <Esc>
+
" toggle view invisible with \t
nmap <leader>l :set list!<CR>