Mercurial > vim
comparison runtime/doc/windows.txt @ 17431:ce35cdbe9f74 v8.1.1714
patch 8.1.1714: cannot preview a file in a popup window
commit https://github.com/vim/vim/commit/7964873afe59d0896a921b7c585167674bb784d5
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jul 18 21:43:07 2019 +0200
patch 8.1.1714: cannot preview a file in a popup window
Problem: Cannot preview a file in a popup window.
Solution: Add the 'previewpopup' option.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 18 Jul 2019 21:45:06 +0200 |
parents | d23afa4d8b63 |
children | ca8e754bdd53 |
comparison
equal
deleted
inserted
replaced
17430:23c5d343007c | 17431:ce35cdbe9f74 |
---|---|
862 of the commands below. The 'previewheight' option can be set to specify the | 862 of the commands below. The 'previewheight' option can be set to specify the |
863 height of the preview window when it's opened. The 'previewwindow' option is | 863 height of the preview window when it's opened. The 'previewwindow' option is |
864 set in the preview window to be able to recognize it. The 'winfixheight' | 864 set in the preview window to be able to recognize it. The 'winfixheight' |
865 option is set to have it keep the same height when opening/closing other | 865 option is set to have it keep the same height when opening/closing other |
866 windows. | 866 windows. |
867 | 867 *preview-popup* |
868 Alternatively, a popup window can be used by setting the 'previewpopup' | |
869 option. When set, it overrules the 'previewwindow' and 'previewheight' | |
870 settings. The option is a comma separated list of values: | |
871 height maximum height of the popup | |
872 width maximu width of the popup | |
873 Example: > | |
874 :set previewpopup=height:10,width:60 | |
875 < | |
868 *:pta* *:ptag* | 876 *:pta* *:ptag* |
869 :pta[g][!] [tagname] | 877 :pta[g][!] [tagname] |
870 Does ":tag[!] [tagname]" and shows the found tag in a | 878 Does ":tag[!] [tagname]" and shows the found tag in a |
871 "Preview" window without changing the current buffer or cursor | 879 "Preview" window without changing the current buffer or cursor |
872 position. If a "Preview" window already exists, it is re-used | 880 position. If a "Preview" window already exists, it is re-used |