summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2014-01-03 13:13:03 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2014-01-03 13:13:03 +0100
commitdb52c1028abfeece1b23ff636a469ddf8c328d8b (patch)
tree5d7cce10b0486a1a6ce4e3be879146b2bdd2b097
parentc918836b91269054b674670e95dced99c0606de3 (diff)
downloaddotfiles-db52c1028abfeece1b23ff636a469ddf8c328d8b.tar.gz
dotfiles-db52c1028abfeece1b23ff636a469ddf8c328d8b.tar.bz2
dotfiles-db52c1028abfeece1b23ff636a469ddf8c328d8b.zip
Map alt-left/right to tab change in gvim
-rw-r--r--.config/vim/vimrc7
1 files changed, 7 insertions, 0 deletions
diff --git a/.config/vim/vimrc b/.config/vim/vimrc
index a57dd3e..d34d1bb 100644
--- a/.config/vim/vimrc
+++ b/.config/vim/vimrc
@@ -140,3 +140,10 @@ autocmd BufWinEnter * match ExtraWhitespace /\s\+$/
autocmd InsertEnter * match ExtraWhitespace /\s\+\%#\@<!$/
autocmd InsertLeave * match ExtraWhitespace /\s\+$/
autocmd BufWinLeave * call clearmatches()
+
+" alt mapping seems to only work in gvim
+:map <A-h> :tabprevious<cr>
+:map <A-l> :tabnext<cr>
+:map <A-Left> :tabprevious<cr>
+:map <A-Right> :tabnext<cr>
+:map <XF86Forward> :tabnext<cr>