diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-02-24 21:44:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-24 21:44:31 +0100 |
commit | 3b2d5317a55fe8dd4e2b786915b09bd46b5f2da7 (patch) | |
tree | b6d6c534f946be6bc65b25e182a9680a2eaea917 /runtime | |
parent | 9327ea3e5a9b004fc494fd5a3864ad43086cddc9 (diff) | |
download | rneovim-3b2d5317a55fe8dd4e2b786915b09bd46b5f2da7.tar.gz rneovim-3b2d5317a55fe8dd4e2b786915b09bd46b5f2da7.tar.bz2 rneovim-3b2d5317a55fe8dd4e2b786915b09bd46b5f2da7.zip |
vim-patch:8.1.0225: mode() does not indicate using CTRL-O from Insert mode (#9644)
Problem: Mode() does not indicate using CTRL-O from Insert mode.
Solution: Add "niI", "niR" and "niV" to mode() result. (closes vim/vim#3000)
https://github.com/vim/vim/commit/612cc3888b136e80485132d9f997ed457dbc5501
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/eval.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 38bbd66ea2..3efe651dfe 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -5774,6 +5774,9 @@ mode([expr]) Return a string that indicates the current mode. This is useful in the 'statusline' option or when used with |remote_expr()| In most other places it always returns "c" or "n". + Note that in the future more modes and more specific modes may + be added. It's better not to compare the whole string but only + the leading character(s). Also see |visualmode()|. msgpackdump({list}) *msgpackdump()* |