summaryrefslogtreecommitdiffstats
path: root/tv/2configs/vim.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2023-01-16 11:05:41 +0100
committertv <tv@krebsco.de>2023-01-16 11:05:49 +0100
commit250a394da48120bd2deb791eb4c7fb6232a342bb (patch)
tree8dc6e55216d15ce75d6894402e67ea631b10028d /tv/2configs/vim.nix
parent21f878d929fdfb0f277aa33c2fa32c5a63f3018a (diff)
tv vim: tabm with S-F{1,2}
Diffstat (limited to 'tv/2configs/vim.nix')
-rw-r--r--tv/2configs/vim.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/tv/2configs/vim.nix b/tv/2configs/vim.nix
index fde66d777..2b5cd8d21 100644
--- a/tv/2configs/vim.nix
+++ b/tv/2configs/vim.nix
@@ -133,6 +133,11 @@ with import ./lib;
imap <f1> <esc><f1>
imap <f2> <esc><f2>
+ nnoremap <S-f1> :tabm -1<cr>
+ nnoremap <S-f2> :tabm +1<cr>
+ imap <S-f1> <esc><S-f1>
+ imap <S-f2> <esc><S-f2>
+
noremap <f3> :ShowSyntax<cr>
" <C-{Up,Down,Right,Left>