diff options
author | tv <tv@krebsco.de> | 2024-01-07 00:48:55 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2024-01-07 00:48:55 +0100 |
commit | 3281c4f57c0938a6be54e5bbf3e58fc32286aad1 (patch) | |
tree | b736257d209ddeb9fd48431c037bc3009ecd3423 /configs | |
parent | e24dcf01db72660292099351cf665e0693a83048 (diff) |
vim: print filename after switching tab
Diffstat (limited to 'configs')
-rw-r--r-- | configs/vim.nix | 8 |
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> |