Mercurial > vim
comparison runtime/doc/cmdline.txt @ 18717:14d2a210fab1 v8.1.2350
patch 8.1.2350: other text for CTRL-V in Insert mode with modifyOtherKeys
Commit: https://github.com/vim/vim/commit/fc4ea2a72d36de1196a3ce17352e72f8fe90f4bb
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Nov 26 19:33:22 2019 +0100
patch 8.1.2350: other text for CTRL-V in Insert mode with modifyOtherKeys
Problem: Other text for CTRL-V in Insert mode with modifyOtherKeys.
Solution: Convert the Escape sequence back to key as if modifyOtherKeys is
not set, and use CTRL-SHIFT-V to get the Escape sequence itself.
(closes #5254)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 26 Nov 2019 19:45:04 +0100 |
parents | 03b854983b14 |
children | 99586852c2db |
comparison
equal
deleted
inserted
replaced
18716:9568bc68c45d | 18717:14d2a210fab1 |
---|---|
75 decimal value of a single byte. The non-digit and the three | 75 decimal value of a single byte. The non-digit and the three |
76 digits are not considered for mapping. This works the same | 76 digits are not considered for mapping. This works the same |
77 way as in Insert mode (see above, |i_CTRL-V|). | 77 way as in Insert mode (see above, |i_CTRL-V|). |
78 Note: Under Windows CTRL-V is often mapped to paste text. | 78 Note: Under Windows CTRL-V is often mapped to paste text. |
79 Use CTRL-Q instead then. | 79 Use CTRL-Q instead then. |
80 When |modifyOtherKeys| is enabled then special Escape sequence | |
81 is converted back to what it was without |modifyOtherKeys|, | |
82 unless the Shift key is also pressed. | |
80 *c_CTRL-Q* | 83 *c_CTRL-Q* |
81 CTRL-Q Same as CTRL-V. But with some terminals it is used for | 84 CTRL-Q Same as CTRL-V. But with some terminals it is used for |
82 control flow, it doesn't work then. | 85 control flow, it doesn't work then. |
86 | |
87 CTRL-SHIFT-V *c_CTRL-SHIFT-V* *c_CTRL-SHIFT-Q* | |
88 CTRL-SHIFT-Q Works just like CTRL-V, unless |modifyOtherKeys| is active, | |
89 then it inserts the Escape sequence for a key with modifiers. | |
83 | 90 |
84 *c_<Left>* *c_Left* | 91 *c_<Left>* *c_Left* |
85 <Left> cursor left | 92 <Left> cursor left |
86 *c_<Right>* *c_Right* | 93 *c_<Right>* *c_Right* |
87 <Right> cursor right | 94 <Right> cursor right |