Mercurial > vim
comparison runtime/doc/insert.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 | ba5d8c5d77d7 |
children | 82a28df1e2d5 |
comparison
equal
deleted
inserted
replaced
18716:9568bc68c45d | 18717:14d2a210fab1 |
---|---|
1 *insert.txt* For Vim version 8.1. Last change: 2019 Oct 20 | 1 *insert.txt* For Vim version 8.1. Last change: 2019 Nov 26 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
194 |i_CTRL-V_digit|. | 194 |i_CTRL-V_digit|. |
195 The characters typed right after CTRL-V are not considered for | 195 The characters typed right after CTRL-V are not considered for |
196 mapping. | 196 mapping. |
197 Note: When CTRL-V is mapped (e.g., to paste text) you can | 197 Note: When CTRL-V is mapped (e.g., to paste text) you can |
198 often use CTRL-Q instead |i_CTRL-Q|. | 198 often use CTRL-Q instead |i_CTRL-Q|. |
199 When |modifyOtherKeys| is enabled then special Escape sequence | |
200 is converted back to what it was without |modifyOtherKeys|, | |
201 unless the Shift key is also pressed. | |
202 | |
203 *i_CTRL-SHIFT-V* | |
204 CTRL-SHIFT-V Works just like CTRL-V, unless |modifyOtherKeys| is active, | |
205 then it inserts the Escape sequence for a key with modifiers. | |
199 | 206 |
200 *i_CTRL-Q* | 207 *i_CTRL-Q* |
201 CTRL-Q Same as CTRL-V. | 208 CTRL-Q Same as CTRL-V. |
202 Note: Some terminal connections may eat CTRL-Q, it doesn't | 209 Note: Some terminal connections may eat CTRL-Q, it doesn't |
203 work then. It does work in the GUI. | 210 work then. It does work in the GUI. |