diff options
author | zeertzjq <zeertzjq@outlook.com> | 2021-09-11 08:14:32 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-10 17:14:32 -0700 |
commit | 9697023a0be2511f9e9be59a73afe3a2d5b7bf23 (patch) | |
tree | 5580b4f57267e6f7176ff16cb6a6f17026ca2202 /runtime | |
parent | 5e22fdd9ccdd894d4c6e165438ca314ed2cd3b9e (diff) | |
download | rneovim-9697023a0be2511f9e9be59a73afe3a2d5b7bf23.tar.gz rneovim-9697023a0be2511f9e9be59a73afe3a2d5b7bf23.tar.bz2 rneovim-9697023a0be2511f9e9be59a73afe3a2d5b7bf23.zip |
vim-patch:8.2.3389: cannot stop insert mode completion without side effects #15538
Problem: Cannot stop insert mode completion without side effects.
Solution: Add CTRL-X CTRL-Z. (closes vim/vim#8821)
https://github.com/vim/vim/commit/dca29d9cf46cd1d4d4519211c7af78b6b1c56960
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/index.txt | 1 | ||||
-rw-r--r-- | runtime/doc/insert.txt | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/runtime/doc/index.txt b/runtime/doc/index.txt index b69b294820..baa7bc1992 100644 --- a/runtime/doc/index.txt +++ b/runtime/doc/index.txt @@ -155,6 +155,7 @@ commands in CTRL-X submode *i_CTRL-X_index* |i_CTRL-X_CTRL-Y| CTRL-X CTRL-Y scroll down |i_CTRL-X_CTRL-U| CTRL-X CTRL-U complete with 'completefunc' |i_CTRL-X_CTRL-V| CTRL-X CTRL-V complete like in : command line +|i_CTRL-X_CTRL-Z| CTRL-X CTRL-Z stop completion, keeping the text as-is |i_CTRL-X_CTRL-]| CTRL-X CTRL-] complete tags |i_CTRL-X_s| CTRL-X s spelling suggestions diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt index bb00c77ca8..ef2fe23d91 100644 --- a/runtime/doc/insert.txt +++ b/runtime/doc/insert.txt @@ -622,6 +622,8 @@ Completion can be done for: 12. Spelling suggestions |i_CTRL-X_s| 13. keywords in 'complete' |i_CTRL-N| |i_CTRL-P| +Additionally, |i_CTRL-X_CTRL-Z| stops completion without changing the text. + All these, except CTRL-N and CTRL-P, are done in CTRL-X mode. This is a sub-mode of Insert and Replace modes. You enter CTRL-X mode by typing CTRL-X and one of the CTRL-X commands. You exit CTRL-X mode by typing a key that is @@ -1022,6 +1024,12 @@ CTRL-P Find previous match for words that start with the other contexts unless a double CTRL-X is used. +Stop completion *compl-stop* + + *i_CTRL-X_CTRL-Z* +CTRL-X CTRL-Z Stop completion without changing the text. + + FUNCTIONS FOR FINDING COMPLETIONS *complete-functions* This applies to 'completefunc' and 'omnifunc'. |