File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 55" Autoload Split: Bram Moolenaar
66" Last Change: 2024 Jun 06 (disabled the q mapping, #8210)
77" 2024 Jul 06 (use nnoremap, #15130)
8- " 2024 Aug 22 (fix the <Plug>ManBS mapping, #15547)
8+ " 2024 Aug 23 (improve the <Plug>ManBS mapping, #15547, #15556 )
99
1010" To make the ":Man" command available before editing a manual page, source
1111" this script from your startup vimrc file.
@@ -37,7 +37,9 @@ if &filetype == "man"
3737 let b: undo_ftplugin = b: undo_ftplugin
3838 \ . ' |silent! nunmap <buffer> <LocalLeader>h'
3939 endif
40- nnoremap <buffer> <Plug> ManBS :setl ma<bar> %s/.\b//ge<bar> setl noma<CR>
40+
41+ nnoremap <buffer> <silent> <Plug> ManBS :setl ma<Bar> %s/.\b//g
42+ \ <Bar> setl noma<CR> `'
4143
4244 nnoremap <buffer> <silent> <c-]> :call dist#man#PreGetPage(v:count)<CR>
4345 nnoremap <buffer> <silent> <c-t> :call dist#man#PopPage()<CR>
You can’t perform that action at this time.
0 commit comments