summaryrefslogtreecommitdiffstats
path: root/tv/2configs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2023-01-16 11:04:51 +0100
committertv <tv@krebsco.de>2023-01-16 11:05:49 +0100
commit21f878d929fdfb0f277aa33c2fa32c5a63f3018a (patch)
tree7b0982118d8cfaf2ff83140b5836d361fd22d0c7 /tv/2configs
parent0a3ad1b7c361897e7bf965424ab59e0cffe6673e (diff)
tv vim: DRY F{1,2} mapping
Diffstat (limited to 'tv/2configs')
-rw-r--r--tv/2configs/vim.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/tv/2configs/vim.nix b/tv/2configs/vim.nix
index f3986e4f2..fde66d777 100644
--- a/tv/2configs/vim.nix
+++ b/tv/2configs/vim.nix
@@ -130,8 +130,8 @@ with import ./lib;
nnoremap <f1> :tabp<cr>
nnoremap <f2> :tabn<cr>
- inoremap <f1> <esc>:tabp<cr>
- inoremap <f2> <esc>:tabn<cr>
+ imap <f1> <esc><f1>
+ imap <f2> <esc><f2>
noremap <f3> :ShowSyntax<cr>