Skip to content

Commit b977360

Browse files
committed
filetype.txt: Vim 8.2.2377
1 parent 1730864 commit b977360

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

en/filetype.txt

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ can be used to overrule the filetype used for certain extensions:
147147
*.w g:filetype_w |ft-cweb-syntax|
148148
*.i g:filetype_i |ft-progress-syntax|
149149
*.p g:filetype_p |ft-pascal-syntax|
150+
*.pp g:filetype_pp |ft-pascal-syntax|
150151
*.sh g:bash_is_sh |ft-sh-syntax|
151152
*.tex g:tex_flavor |ft-tex-plugin|
152153

@@ -563,16 +564,15 @@ Local mappings:
563564

564565
MAN *ft-man-plugin* *:Man* *man.vim*
565566

566-
Displays a manual page in a nice way. Also see the user manual
567-
|find-manpage|.
568-
569-
To start using the ":Man" command before any manual page was loaded, source
570-
this script from your startup vimrc file: >
567+
This plugin displays a manual page in a nice way. See |find-manpage| in the
568+
user manual for more information.
571569

570+
To start using the |:Man| command before any manual page has been loaded,
571+
source this script from your startup |vimrc| file: >
572572
runtime ftplugin/man.vim
573573
574574
Options:
575-
'iskeyword' the '.' character is added to be able to use CTRL-] on the
575+
'iskeyword' The '.' character is added to support the use of CTRL-] on the
576576
manual page name.
577577

578578
Commands:
@@ -582,24 +582,25 @@ Man {number} {name}
582582

583583
Global mapping:
584584
<Leader>K Displays the manual page for the word under the cursor.
585-
<Plug>ManPreGetPage idem, allows for using a mapping: >
586-
nmap <F1> <Plug>ManPreGetPage<CR>
585+
<Plug>ManPreGetPage
586+
idem, allows for using a mapping: >
587+
nmap <F1> <Plug>ManPreGetPage
587588
588589
Local mappings:
589590
CTRL-] Jump to the manual page for the word under the cursor.
590591
CTRL-T Jump back to the previous manual page.
591-
q Same as ":quit"
592+
q Same as the |:quit| command.
592593

593594
To use a vertical split instead of horizontal: >
594595
let g:ft_man_open_mode = 'vert'
595596
To use a new tab: >
596597
let g:ft_man_open_mode = 'tab'
597598
598-
To enable folding use this: >
599-
let g:ft_man_folding_enable = 1
600-
If you do not like the default folding, use an autocommand to add your desired
599+
To enable |folding|, use this: >
600+
let g:ft_man_folding_enable = 1
601+
If you do not like the default folding, use an |autocommand| to add your desired
601602
folding style instead. For example: >
602-
autocmd FileType man setlocal foldmethod=indent foldenable
603+
autocmd FileType man setlocal foldmethod=indent foldenable
603604
604605
If you would like :Man {number} {name} to behave like man {number} {name} by
605606
not running man {name} if no page is found, then use this: >
@@ -612,7 +613,7 @@ page in a Vim window: >
612613
613614
MANPAGER *manpager.vim*
614615

615-
The :Man command allows you to turn Vim into a manpager (that syntax highlights
616+
The |:Man| command allows you to turn Vim into a manpager (that syntax highlights
616617
manpages and follows linked manpages on hitting CTRL-]).
617618

618619
For bash,zsh,ksh or dash, add to the config file (.bashrc,.zshrc, ...)

0 commit comments

Comments
 (0)