summaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2024-01-07 00:48:55 +0100
committertv <tv@krebsco.de>2024-01-07 00:48:55 +0100
commit3281c4f57c0938a6be54e5bbf3e58fc32286aad1 (patch)
treeb736257d209ddeb9fd48431c037bc3009ecd3423 /configs
parente24dcf01db72660292099351cf665e0693a83048 (diff)
vim: print filename after switching tab
Diffstat (limited to 'configs')
-rw-r--r--configs/vim.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/configs/vim.nix b/configs/vim.nix
index f826144..757d702 100644
--- a/configs/vim.nix
+++ b/configs/vim.nix
@@ -128,13 +128,13 @@
noremap <C-c> :q<cr>
- nnoremap <esc>[5^ :tabp<cr>
- nnoremap <esc>[6^ :tabn<cr>
+ nnoremap <esc>[5^ :tabp\|file<cr>
+ nnoremap <esc>[6^ :tabn\|file<cr>
nnoremap <esc>[5@ :tabm -1<cr>
nnoremap <esc>[6@ :tabm +1<cr>
- nnoremap <f1> :tabp<cr>
- nnoremap <f2> :tabn<cr>
+ nnoremap <f1> :tabp\|file<cr>
+ nnoremap <f2> :tabn\|file<cr>
imap <f1> <esc><f1>
imap <f2> <esc><f2>