diff options
author | zeertzjq <zeertzjq@outlook.com> | 2021-10-10 09:15:46 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-09 18:15:46 -0700 |
commit | f4359b5dbdd5ed9aa230532382edd7eb6cd0a61b (patch) | |
tree | 60e8a3ff5d503517488510a6dd5600c12dc5b370 /runtime | |
parent | 65b8232260a1e95f53c6bf704dfa02cdd3125262 (diff) | |
download | rneovim-f4359b5dbdd5ed9aa230532382edd7eb6cd0a61b.tar.gz rneovim-f4359b5dbdd5ed9aa230532382edd7eb6cd0a61b.tar.bz2 rneovim-f4359b5dbdd5ed9aa230532382edd7eb6cd0a61b.zip |
vim-patch:8.2.3461: distinguish Normal and Terminal-Normal mode #15878
Problem: Cannot distinguish Normal and Terminal-Normal mode.
Solution: Make mode() return "nt" for Terminal-Normal mode. (issue vim/vim#8856)
https://github.com/vim/vim/commit/72406a4bd2896915b6f541e26d41521a59b1f846
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/eval.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index fe19bb3134..7457460fd4 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -6864,6 +6864,8 @@ mode([expr]) Return a string that indicates the current mode. niI Normal using |i_CTRL-O| in |Insert-mode| niR Normal using |i_CTRL-O| in |Replace-mode| niV Normal using |i_CTRL-O| in |Virtual-Replace-mode| + nt Normal in |terminal-emulator| (insert goes to + Terminal mode) v Visual by character vs Visual by character using |v_CTRL-O| in Select mode V Visual by line |