summaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2013-01-14 15:48:22 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2013-01-14 15:48:22 +0100
commit33496956c8047ca14ccbdefbc01f10a18c63b66c (patch)
tree45fd3e5f957b24a14101594d2518c4bfca4d0ecb /vimrc
parenta54285af00cdbf7c5b8bf1b13db27bf2e250f85f (diff)
downloadvim-33496956c8047ca14ccbdefbc01f10a18c63b66c.zip
vim-33496956c8047ca14ccbdefbc01f10a18c63b66c.tar.gz
move Esc mapping up
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/vimrc b/vimrc
index 4e1e33f..3f356d3 100644
--- a/vimrc
+++ b/vimrc
@@ -16,6 +16,8 @@ else
colorscheme adobe
endif
+:imap <M-Space> <ESC>
+
call togglebg#map("<F5>")
" map <F12> :let &background = ( &background == "dark" ? "light" : "dark" )<CR>
@@ -61,7 +63,7 @@ set number " show line number
set showmode " show current mode
" nap alt-space to Esc
-:imap <A-c> <Esc>
+:imap <A-Space> <Esc>
" toggle view invisible with \t
nmap <leader>l :set list!<CR>