From 0768d8cf9bf589be46d7a5162cb131229d3784bf Mon Sep 17 00:00:00 2001 From: j-james Date: Tue, 18 Jan 2022 00:53:21 -0800 Subject:  Add tab navigation functionality --- autoload/novim_mode.vim | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'autoload') diff --git a/autoload/novim_mode.vim b/autoload/novim_mode.vim index 3e003d2..28e3305 100644 --- a/autoload/novim_mode.vim +++ b/autoload/novim_mode.vim @@ -118,6 +118,19 @@ function! g:SetNoVimModeShortcuts() inoremap :call novim_mode#PageUp() endif + " Open and cycle between tabs + if g:novim_mode_use_tab_shortcuts == 1 + " Open a new tab + nnoremap :tabnew + inoremap :tabnew + snoremap :tabnew + " Cycle through tabs + " I would prefer , but can't use it due to technical limitations. + nnoremap :tabnext + inoremap :tabnext + snoremap :tabnext + end + " Move between splits, panes, windows, etc and close them if g:novim_mode_use_pane_controls == 1 inoremap -- cgit v1.2.3-70-g09d2