summaryrefslogtreecommitdiffstats
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
commitc451c5cd8f95cdc651ec55fb2def5457b34a5e51 (patch)
tree951f7dea4c4cd105fc0bb963f1122bc08fa495ac
parent8452e3cd77b8e0621f2c22621c310d7ef892f3c9 (diff)
tv vim: DRY F{1,2} mapping
-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 f3986e4..fde66d7 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>