diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-10-02 16:34:55 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-10-02 16:34:55 +0100 |
commit | 72406a4bd2896915b6f541e26d41521a59b1f846 (patch) | |
tree | 8eefa9728408e73f4742c4f079ab4cd7f96f84e1 /runtime/doc/eval.txt | |
parent | dfa5e464d459f84200a73d178f1ecefe75bbe511 (diff) |
patch 8.2.3461: cannot distinguish Normal and Terminal-Normal modev8.2.3461
Problem: Cannot distinguish Normal and Terminal-Normal mode.
Solution: Make mode() return "nt" for Terminal-Normal mode. (issue #8856)
Diffstat (limited to 'runtime/doc/eval.txt')
-rw-r--r-- | runtime/doc/eval.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 00ba2e41b4..43aae40d4c 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -8061,7 +8061,7 @@ mode([expr]) Return a string that indicates the current mode. returned, otherwise only the first letter is returned. Also see |state()|. - n Normal, Terminal-Normal + n Normal no Operator-pending nov Operator-pending (forced characterwise |o_v|) noV Operator-pending (forced linewise |o_V|) @@ -8070,6 +8070,7 @@ 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 Terminal-Normal (insert goes to Terminal-Job mode) v Visual by character V Visual by line CTRL-V Visual blockwise |