aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorckelsel <ckelsel@hotmail.com>2017-11-19 19:15:03 +0800
committerckelsel <ckelsel@hotmail.com>2017-11-19 19:53:47 +0800
commit540ed646358f9e3910681add39aa96a937074668 (patch)
tree576c64d25c10ed882eae85f50241e437ba0092a3 /runtime
parentd6f9d1df04cfae3d73496b2cd99408d5344d0ad4 (diff)
downloadrneovim-540ed646358f9e3910681add39aa96a937074668.tar.gz
rneovim-540ed646358f9e3910681add39aa96a937074668.tar.bz2
rneovim-540ed646358f9e3910681add39aa96a937074668.zip
vim-patch:8.0.0283
Problem: The return value of mode() does not indicate that completion is active in Replace and Insert mode. (Zhen-Huan (Kenny) Hu) Solution: Add "c" or "x" for two kinds of completion. (Yegappan Lakshmanan, closes vim/vim#1397) Test some more modes. https://github.com/vim/vim/commit/e90858d0229444b3cd16b1cd3a8d61a24c435705
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/eval.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 4a0f76c64b..b752667d9a 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -5660,9 +5660,13 @@ mode([expr]) Return a string that indicates the current mode.
S Select by line
CTRL-S Select blockwise
i Insert
+ ic Insert mode completion |compl-generic|
+ ix Insert mode |i_CTRL-X| completion
R Replace |R|
+ Rc Replace mode completion |compl-generic|
Rv Virtual Replace |gR|
- c Command-line
+ Rx Replace mode |i_CTRL-X| completion
+ c Command-line editing
cv Vim Ex mode |gQ|
ce Normal Ex mode |Q|
r Hit-enter prompt