Mercurial > vim
comparison runtime/doc/filetype.txt @ 13231:167a030448fa
Update runtime files.
commit https://github.com/vim/vim/commit/7254067ee970686cc3ff4a1effc3e49e9192a5c1
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Feb 9 22:00:53 2018 +0100
Update runtime files.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 09 Feb 2018 22:15:07 +0100 |
parents | a6d3e2081544 |
children | a62eeee5f116 |
comparison
equal
deleted
inserted
replaced
13230:0b201ae05cd3 | 13231:167a030448fa |
---|---|
1 *filetype.txt* For Vim version 8.0. Last change: 2017 Dec 05 | 1 *filetype.txt* For Vim version 8.0. Last change: 2018 Feb 04 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
600 MANPAGER *manpager.vim* | 600 MANPAGER *manpager.vim* |
601 | 601 |
602 The :Man command allows you to turn Vim into a manpager (that syntax highlights | 602 The :Man command allows you to turn Vim into a manpager (that syntax highlights |
603 manpages and follows linked manpages on hitting CTRL-]). | 603 manpages and follows linked manpages on hitting CTRL-]). |
604 | 604 |
605 Tested on: | |
606 | |
607 - Linux | |
608 - Mac OS | |
609 - FreeBSD | |
610 - OpenBSD | |
611 - Cygwin | |
612 - Win 10 under Bash | |
613 | |
614 Untested: | |
615 | |
616 - Amiga OS | |
617 - BeOS | |
618 - OS/2 | |
619 | |
620 If man sets the $MAN_PN environment variable, like man-db, the most common | |
621 implementation on Linux, then the "env MAN_PN=1 " part below should NOT be | |
622 set, that is, the "env MAN_PN=1" should be omitted! Otherwise, the Vim | |
623 manpager does not correctly recognize manpages whose title contains a capital | |
624 letter. See the discussion on | |
625 | |
626 https://groups.google.com/forum/#!topic/vim_dev/pWZmt_7GkxI | |
627 | |
628 For bash,zsh,ksh or dash, add to the config file (.bashrc,.zshrc, ...) | 605 For bash,zsh,ksh or dash, add to the config file (.bashrc,.zshrc, ...) |
629 | 606 |
630 export MANPAGER="env MAN_PN=1 vim -M +MANPAGER -" | 607 export MANPAGER="vim -M +MANPAGER -" |
631 | 608 |
632 For (t)csh, add to the config file | 609 For (t)csh, add to the config file |
633 | 610 |
634 setenv MANPAGER "env MAN_PN=1 vim -M +MANPAGER -" | 611 setenv MANPAGER "vim -M +MANPAGER -" |
635 | 612 |
636 For fish, add to the config file | 613 For fish, add to the config file |
637 | 614 |
638 set -x MANPAGER "env MAN_PN=1 vim -M +MANPAGER -" | 615 set -x MANPAGER "vim -M +MANPAGER -" |
639 | |
640 On OpenBSD: | |
641 | |
642 export MANPAGER="env MAN_PN=1 vim -M +MANPAGER" | |
643 | |
644 If you experience still issues on manpages whose titles do not contain capital | |
645 letters, then try adding MANPATH=${MANPATH} after MAN_PN=1. If your manpages do | |
646 not show up localized, then try adding, LANGUAGE=${LANG} after MAN_PN=1. See | |
647 | |
648 https://github.com/vim/vim/issues/1002 | |
649 | |
650 | 616 |
651 PDF *ft-pdf-plugin* | 617 PDF *ft-pdf-plugin* |
652 | 618 |
653 Two maps, <C-]> and <C-T>, are provided to simulate a tag stack for navigating | 619 Two maps, <C-]> and <C-T>, are provided to simulate a tag stack for navigating |
654 the PDF. The following are treated as tags: | 620 the PDF. The following are treated as tags: |
667 By default the following options are set, in accordance with PEP8: > | 633 By default the following options are set, in accordance with PEP8: > |
668 | 634 |
669 setlocal expandtab shiftwidth=4 softtabstop=4 tabstop=8 | 635 setlocal expandtab shiftwidth=4 softtabstop=4 tabstop=8 |
670 | 636 |
671 To disable this behaviour, set the following variable in your vimrc: > | 637 To disable this behaviour, set the following variable in your vimrc: > |
672 | 638 |
673 let g:python_recommended_style = 0 | 639 let g:python_recommended_style = 0 |
674 | 640 |
675 | 641 |
676 RPM SPEC *ft-spec-plugin* | 642 RPM SPEC *ft-spec-plugin* |
677 | 643 |