Skip to content

Commit fd01eb2

Browse files
jmdevinchrisbra
authored andcommitted
runtime(doc): Update outdated man.vim plugin information
closes: #15536 Signed-off-by: John M Devin <john.m.devin@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
1 parent bc29ea6 commit fd01eb2

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

runtime/doc/filetype.txt

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*filetype.txt* For Vim version 9.1. Last change: 2024 Jul 16
1+
*filetype.txt* For Vim version 9.1. Last change: 2024 Aug 21
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -753,9 +753,13 @@ Global mapping:
753753
nmap <F1> <Plug>ManPreGetPage
754754
755755
Local mappings:
756+
<Plug>ManBS
757+
<LocalLeader>h Clear backspace <BS> characters from the buffer
756758
CTRL-] Jump to the manual page for the word under the cursor.
757759
CTRL-T Jump back to the previous manual page.
758-
q Same as the |:quit| command.
760+
761+
The mappings can be disabled with: >
762+
let g:no_man_maps = 1
759763
760764
To use a vertical split instead of horizontal: >
761765
let g:ft_man_open_mode = 'vert'
@@ -764,8 +768,8 @@ To use a new tab: >
764768
765769
To enable |folding|, use this: >
766770
let g:ft_man_folding_enable = 1
767-
If you do not like the default folding, use an |autocommand| to add your desired
768-
folding style instead. For example: >
771+
If you do not like the default folding, use an |autocommand| to add your
772+
desired folding style instead. For example: >
769773
autocmd FileType man setlocal foldmethod=indent foldenable
770774
771775
If you would like :Man {number} {name} to behave like man {number} {name} by

0 commit comments

Comments
 (0)