From 1a603373ec1a1509f93c7aecc6667024bd24a066 Mon Sep 17 00:00:00 2001 From: bretello Date: Sun, 14 Mar 2021 17:12:41 +0100 Subject: [PATCH] vim: add t shortcuts class for tab navigation --- vim/shortcuts.vim | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vim/shortcuts.vim b/vim/shortcuts.vim index 7676b39..426b6a3 100644 --- a/vim/shortcuts.vim +++ b/vim/shortcuts.vim @@ -26,6 +26,12 @@ nmap pp :setlocal paste! " Re-select the text block just pasted nnoremap vv V`] +" Easy tab navigation with t +nmap tn :tabnext +nmap tN :tabnew +nmap tp :tabprev +nmap tc :tabclose + " open quickfix nmap cc :botright cope " close quickfix (also see C below)