patch 9.1.1704: Cannot determine non-X11/Wayland clipmethods
Problem: Cannot determine non-X11/Wayland clipmethods Solution: Add the "gui" value to the 'clipmethod' option (Foxe Chen) related: #18006 closes: #18067 Signed-off-by: Foxe Chen <chen.foxe@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
1f51bbc3b9
commit
528196c8a9
@ -1906,30 +1906,30 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
{pattern}, this must be the last entry.
|
||||
|
||||
*'clipmethod'* *'cpm'*
|
||||
'clipmethod' 'cpm' string (default for Unix: "wayland,x11",
|
||||
for VMS: "x11",
|
||||
otherwise: "")
|
||||
'clipmethod' 'cpm' string (default for Unix: "wayland,x11,gui,other",
|
||||
for VMS: "x11,gui,other",
|
||||
otherwise: "gui,other")
|
||||
global
|
||||
{only when the |+xterm_clipboard| or
|
||||
|+wayland_clipboard| features are included}
|
||||
{only when the |+clipboard| feature is included}
|
||||
Specifies which method of accessing the system clipboard is used,
|
||||
depending on which method works first or is available. Supported
|
||||
methods are:
|
||||
wayland Wayland selections
|
||||
x11 X11 selections
|
||||
gui GUI specific method
|
||||
other Some other method
|
||||
|
||||
Note: This option is ignored when either the GUI is running or if Vim
|
||||
is run on a system without Wayland or X11 support, such as Windows or
|
||||
macOS. The GUI or system way of accessing the clipboard is always
|
||||
used instead.
|
||||
Note: "other" is used on systems without X11/Wayland, such as
|
||||
MS-Windows or MacOS, when running Vim without the GUI.
|
||||
|
||||
The option value is a list of comma separated items. The list is
|
||||
parsed left to right in order, and the first method that Vim
|
||||
determines is available or is working is used as the actual method for
|
||||
accessing the clipboard.
|
||||
accessing the clipboard. Setting this option to an empty value
|
||||
disables the clipboard functionality on all systems.
|
||||
|
||||
The current method that is being used can be found in the |v:clipmethod|
|
||||
variable.
|
||||
The current method that is being used can be found in the
|
||||
|v:clipmethod| variable.
|
||||
|
||||
*'cmdheight'* *'ch'*
|
||||
'cmdheight' 'ch' number (default 1)
|
||||
|
||||
Reference in New Issue
Block a user