aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-03-09 06:13:34 +0800
committerzeertzjq <zeertzjq@outlook.com>2025-03-09 15:53:05 +0800
commit39ca7a844a9283c195628bda639dc303f9111014 (patch)
treedf709b8156025bb8cf0a4a8aa40c357fadab8862
parent5ee62906a336b36bd868b5dda70037dc02525b15 (diff)
downloadrneovim-39ca7a844a9283c195628bda639dc303f9111014.tar.gz
rneovim-39ca7a844a9283c195628bda639dc303f9111014.tar.bz2
rneovim-39ca7a844a9283c195628bda639dc303f9111014.zip
vim-patch:3d1a437: runtime(doc): warn users about potentially risky hotkey
Also, mention that CTRL-SHIFT-V might be mapped to paste text, similar to the note about CTRL-V. References: https://gitlab.gnome.org/GNOME/gnome-terminal/-/blob/2d7e9d78c9631be63b6b381f6966cb8808865ffb/src/org.gnome.Terminal.gschema.xml#L395-398 https://gitlab.gnome.org/chergert/ptyxis/-/blob/8942adde5b98c82c85238851743b371a034a1c1b/src/org.gnome.Ptyxis.gschema.xml.in#L529-L533 closes: vim/vim#16816 https://github.com/vim/vim/commit/3d1a437f1bb41933739445a8436fdc1902e4ea98 Co-authored-by: David Mandelberg <david@mandelberg.org>
-rw-r--r--runtime/doc/cmdline.txt4
-rw-r--r--runtime/doc/insert.txt4
2 files changed, 8 insertions, 0 deletions
diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt
index 3fc17af185..94abb5a569 100644
--- a/runtime/doc/cmdline.txt
+++ b/runtime/doc/cmdline.txt
@@ -83,6 +83,10 @@ CTRL-Q Same as CTRL-V. But with some terminals it is used for
CTRL-SHIFT-V *c_CTRL-SHIFT-V* *c_CTRL-SHIFT-Q*
CTRL-SHIFT-Q Works just like CTRL-V, but do not try to include the CTRL
modifier into the key.
+ Note: When CTRL-SHIFT-V is intercepted by your system
+ (e.g., to paste text) you can often use CTRL-SHIFT-Q instead.
+ However, in some terminals (e.g. Gnome Terminal), CTRL-SHIFT-Q
+ quits the terminal without confirmation.
*c_<Left>* *c_Left*
<Left> cursor left. See 'wildmenu' for behavior during wildmenu
diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt
index 06f1a4e73d..cd69f27e82 100644
--- a/runtime/doc/insert.txt
+++ b/runtime/doc/insert.txt
@@ -212,6 +212,10 @@ CTRL-Q Same as CTRL-V.
CTRL-SHIFT-V *i_CTRL-SHIFT-V* *i_CTRL-SHIFT-Q*
CTRL-SHIFT-Q Works just like CTRL-V, but do not try to include the CTRL
modifier into the key.
+ Note: When CTRL-SHIFT-V is intercepted by your system (e.g.,
+ to paste text) you can often use CTRL-SHIFT-Q instead.
+ However, in some terminals (e.g. Gnome Terminal), CTRL-SHIFT-Q
+ quits the terminal without confirmation.
CTRL-X Enter CTRL-X mode. This is a sub-mode where commands can
be given to complete words or scroll the window. See