comparison runtime/doc/filetype.txt @ 9041:34c45ee4210d

commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb Author: Bram Moolenaar <Bram@vim.org> Date: Sat Apr 30 15:13:38 2016 +0200 Update runtime files.
author Christian Brabandt <cb@256bit.org>
date Sat, 30 Apr 2016 15:15:06 +0200
parents aea5ebf352c4
children bc38030aec7d
comparison
equal deleted inserted replaced
9040:c3ba708cfa09 9041:34c45ee4210d
1 *filetype.txt* For Vim version 7.4. Last change: 2015 Dec 06 1 *filetype.txt* For Vim version 7.4. Last change: 2016 Apr 30
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
584 If you do not like the default folding, use an autocommand to add your desired 584 If you do not like the default folding, use an autocommand to add your desired
585 folding style instead. For example: > 585 folding style instead. For example: >
586 autocmd FileType man setlocal foldmethod=indent foldenable 586 autocmd FileType man setlocal foldmethod=indent foldenable
587 587
588 588
589 MANPAGER *manpager.vim*
590
591 The :Man command allows you to turn Vim into a manpager (that syntax highlights
592 manpages and follows linked manpages on hitting CTRL-]).
593
594 Works on:
595
596 - Linux
597 - Mac OS
598 - FreeBSD
599 - Cygwin
600 - Win 10 under Bash
601
602 Untested:
603
604 - Amiga OS
605 - BeOS
606 - OS/2
607
608 For bash,zsh,ksh or dash by adding to the config file (.bashrc,.zshrc, ...)
609
610 export MANPAGER="env MAN_PN=1 vim -M +MANPAGER -"
611
612 For (t)csh by adding to the config file
613
614 setenv MANPAGER "env MAN_PN=1 vim -M +MANPAGER -"
615
616 For fish by adding to the config file
617
618 set -x MANPAGER "env MAN_PN=1 vim -M +MANPAGER -"
619
620 If man sets the $MAN_PN environment variable, like man-db, the most common
621 implementation on Linux and Mac OS, then the "env MAN_PN=1 " part above is
622 superfluous.
623
589 PDF *ft-pdf-plugin* 624 PDF *ft-pdf-plugin*
590 625
591 Two maps, <C-]> and <C-T>, are provided to simulate a tag stack for navigating 626 Two maps, <C-]> and <C-T>, are provided to simulate a tag stack for navigating
592 the PDF. The following are treated as tags: 627 the PDF. The following are treated as tags:
593 628