diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-10-03 18:04:35 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-10-03 18:04:35 +0100 |
commit | f269eabc6c4f5bdcef989cd5b4b95ba8ccaa4d8a (patch) | |
tree | b302076deeeab8b9884a2912b364f8131ef34949 /runtime/doc/insert.txt | |
parent | eb47d6d20a47707d810360fd1684b21f67d5dec8 (diff) |
Update runtime files
Diffstat (limited to 'runtime/doc/insert.txt')
-rw-r--r-- | runtime/doc/insert.txt | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt index 51cfa46975..9e87626963 100644 --- a/runtime/doc/insert.txt +++ b/runtime/doc/insert.txt @@ -1,4 +1,4 @@ -*insert.txt* For Vim version 9.0. Last change: 2022 Apr 06 +*insert.txt* For Vim version 9.0. Last change: 2022 Sep 30 VIM REFERENCE MANUAL by Bram Moolenaar @@ -667,7 +667,7 @@ When the popup menu is displayed there are a few more special keys, see |popupmenu-keys|. Note: The keys that are valid in CTRL-X mode are not mapped. This allows for -":map ^F ^X^F" to work (where ^F is CTRL-F and ^X is CTRL-X). The key that +`:map <C-F> <C-X><C-F>` to work (assuming "<" is not in 'cpo'). The key that ends CTRL-X mode (any key that is not a valid CTRL-X mode command) is mapped. Also, when doing completion with 'complete' mappings apply as usual. @@ -677,11 +677,12 @@ buffer text cannot be changed. Mappings that somehow invoke ":normal i.." will generate an E565 error. The following mappings are suggested to make typing the completion commands -a bit easier (although they will hide other commands): > - :inoremap ^] ^X^] - :inoremap ^F ^X^F - :inoremap ^D ^X^D - :inoremap ^L ^X^L +a bit easier (although they will hide other commands; this requires "<" is not +in 'cpo'): > + :inoremap <C-]> <C-X><C-]> + :inoremap <C-F> <C-X><C-F> + :inoremap <C-D> <C-X><C-D> + :inoremap <C-L> <C-X><C-L> As a special case, typing CTRL-R to perform register insertion (see |i_CTRL-R|) will not exit CTRL-X mode. This is primarily to allow the use of |