summaryrefslogtreecommitdiff
path: root/.config/vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to '.config/vim/vimrc')
-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>