summaryrefslogtreecommitdiffstats
path: root/runtime/doc/insert.txt
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2021-08-31 19:12:51 +0200
committerBram Moolenaar <Bram@vim.org>2021-08-31 19:12:51 +0200
commitdca29d9cf46cd1d4d4519211c7af78b6b1c56960 (patch)
tree1de7d368ec90100da96815643ed82df70902002e /runtime/doc/insert.txt
parent4eaef9979fc5032606897963f1af37674ee0d422 (diff)
patch 8.2.3389: cannot stop insert mode completion without side effectsv8.2.3389
Problem: Cannot stop insert mode completion without side effects. Solution: Add CTRL-X CTRL-Z. (closes #8821)
Diffstat (limited to 'runtime/doc/insert.txt')
-rw-r--r--runtime/doc/insert.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt
index 1caf08437f..18b40f76fa 100644
--- a/runtime/doc/insert.txt
+++ b/runtime/doc/insert.txt
@@ -640,6 +640,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
@@ -1042,6 +1044,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'.