From cf041e18f46d95de44ae61dac4785fea68a6a21b Mon Sep 17 00:00:00 2001 From: Thomas Buckley-Houston Date: Wed, 11 May 2022 12:01:35 -0300 Subject: Allow indentation to be repeated --- autoload/novim_mode.vim | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'autoload') diff --git a/autoload/novim_mode.vim b/autoload/novim_mode.vim index 9d57c15..169d39a 100644 --- a/autoload/novim_mode.vim +++ b/autoload/novim_mode.vim @@ -175,13 +175,13 @@ function! g:SetNoVimModeShortcuts() " Indenting if g:novim_mode_use_indenting == 1 " TODO: In Neovim TAB doesn't work in mswin selection mode, but SHIFT+TAB does?? - snoremap >gv + snoremap >gv inoremap - snoremap >gv + snoremap >gv " Unindenting - snoremap inoremap - snoremap endif if g:novim_mode_use_finding == 1 @@ -205,13 +205,16 @@ function! g:SetNoVimModeShortcuts() " the last *text* activity. inoremap u snoremap u + vnoremap u " Map CTRL+u as well for now just because by default it deletes the line above " the cursor. inoremap u snoremap u + vnoremap u " Redo inoremap snoremap + vnoremap endif " Useful, but not necessarily core or conventional, shortcuts for manipulating -- cgit v1.2.3-70-g09d2