summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2014-08-29 22:50:18 +0200
committerDaniel Friesel <derf@finalrewind.org>2014-08-29 22:50:18 +0200
commit6ac3b04280961ee578b7d0d73b50cf70e0635fd3 (patch)
treec334084665d3903a8d7a5787eaac5e8236931b31 /etc
parent59e12f41847b541a1d87c428b54561d3892983ab (diff)
vimrc: add tab key bindings
Diffstat (limited to 'etc')
-rw-r--r--etc/vimrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/vimrc b/etc/vimrc
index 540c4c4..bc5fbab 100644
--- a/etc/vimrc
+++ b/etc/vimrc
@@ -65,6 +65,10 @@ command! TVb :w | :!texvb %
command! TVn :w | :!texvn %
command! TVp :w | :!texvp %
+nnoremap <C-t> :tabnew<CR>
+nnoremap <C-w> :tabclose<CR>
+nnoremap <C-p> :tabprevious<CR>
+nnoremap <C-n> :tabnext<CR>
" Greedy remaps (TODO: Add more keys)
noremap - :