From: John M Devin Date: Fri, 23 Aug 2024 16:34:41 +0000 (+0200) Subject: runtime(mane): Improve ManBS mapping X-Git-Tag: v9.1.0691~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5d1c55105739520f6de19b10328328e060c78984;p=thirdparty%2Fvim.git runtime(mane): Improve ManBS mapping related: #15547 and #15538 closes: #15556 Signed-off-by: John M Devin Signed-off-by: Christian Brabandt --- diff --git a/runtime/ftplugin/man.vim b/runtime/ftplugin/man.vim index f1142ee0f6..45c2bb239a 100644 --- a/runtime/ftplugin/man.vim +++ b/runtime/ftplugin/man.vim @@ -5,7 +5,7 @@ " Autoload Split: Bram Moolenaar " Last Change: 2024 Jun 06 (disabled the q mapping, #8210) " 2024 Jul 06 (use nnoremap, #15130) -" 2024 Aug 22 (fix the ManBS mapping, #15547) +" 2024 Aug 23 (improve the ManBS mapping, #15547, #15556) " To make the ":Man" command available before editing a manual page, source " this script from your startup vimrc file. @@ -37,7 +37,9 @@ if &filetype == "man" let b:undo_ftplugin = b:undo_ftplugin \ . '|silent! nunmap h' endif - nnoremap ManBS :setl ma%s/.\b//gesetl noma + + nnoremap ManBS :setl ma%s/.\b//g + \ setl noma`' nnoremap :call dist#man#PreGetPage(v:count) nnoremap :call dist#man#PopPage()