comparison runtime/doc/options.txt @ 29756:2acb87ee55fc

Update runtime files Commit: https://github.com/vim/vim/commit/e1f3fd1d02e3f5fe6d2b6d82687c6846b8e500f8 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Aug 15 18:51:32 2022 +0100 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Mon, 15 Aug 2022 20:00:05 +0200
parents 2198955f9e27
children 90a966f5c77a
comparison
equal deleted inserted replaced
29755:e726ee71b93b 29756:2acb87ee55fc
812 source /etc/profile.d/vte.sh in your shell profile if you use bash or 812 source /etc/profile.d/vte.sh in your shell profile if you use bash or
813 zsh. For bash this should work (put it in a bash init file): > 813 zsh. For bash this should work (put it in a bash init file): >
814 if [[ -n "$VIM_TERMINAL" ]]; then 814 if [[ -n "$VIM_TERMINAL" ]]; then
815 PROMPT_COMMAND='_vim_sync_PWD' 815 PROMPT_COMMAND='_vim_sync_PWD'
816 function _vim_sync_PWD() { 816 function _vim_sync_PWD() {
817 printf "\033]7;file://%s\033\\" "$PWD" 817 printf '\033]7;file://%s\033\\' "$PWD"
818 } 818 }
819 fi 819 fi
820 < 820 <
821 Or, in a zsh init file: > 821 Or, in a zsh init file: >
822 if [[ -n "$VIM_TERMINAL" ]]; then 822 if [[ -n "$VIM_TERMINAL" ]]; then
823 autoload -Uz add-zsh-hook 823 autoload -Uz add-zsh-hook
824 add-zsh-hook -Uz chpwd _vim_sync_PWD 824 add-zsh-hook -Uz chpwd _vim_sync_PWD
825 function _vim_sync_PWD() { 825 function _vim_sync_PWD() {
826 printf "\033]7;file://%s\033\\" "$PWD" 826 printf '\033]7;file://%s\033\\' "$PWD"
827 } 827 }
828 fi 828 fi
829 < 829 <
830 In a fish init file: > 830 In a fish init file: >
831 if test -n "$VIM_TERMINAL" 831 if test -n "$VIM_TERMINAL"
832 function _vim_sync_PWD --on-variable=PWD 832 function _vim_sync_PWD --on-variable=PWD
833 printf "\033]7;file://%s\033\\" "$PWD" 833 printf '\033]7;file://%s\033\\' "$PWD"
834 end 834 end
835 end 835 end
836 < 836 <
837 You can find an alternative method at |terminal-autoshelldir|. 837 You can find an alternative method at |terminal-autoshelldir|.
838 When the parsing of the OSC sequence fails you get *E1179* . 838 When the parsing of the OSC sequence fails you get *E1179* .
1791 The value of this option is stored with the tab page, so that each tab 1791 The value of this option is stored with the tab page, so that each tab
1792 page can have a different value. 1792 page can have a different value.
1793 1793
1794 When 'cmdheight' is zero, there is no command-line unless it is being 1794 When 'cmdheight' is zero, there is no command-line unless it is being
1795 used. Some informative messages will not be displayed, any other 1795 used. Some informative messages will not be displayed, any other
1796 messages will cause the |hit-enter| prompt. 1796 messages will cause the |hit-enter| prompt. Expect some other
1797 unexpected behavior too.
1797 1798
1798 *'cmdwinheight'* *'cwh'* 1799 *'cmdwinheight'* *'cwh'*
1799 'cmdwinheight' 'cwh' number (default 7) 1800 'cmdwinheight' 'cwh' number (default 7)
1800 global 1801 global
1801 Number of screen lines to use for the command-line window. |cmdwin| 1802 Number of screen lines to use for the command-line window. |cmdwin|