Mercurial > vim
comparison runtime/doc/eval.txt @ 25854:2d0bea8aed33 v8.2.3461
patch 8.2.3461: cannot distinguish Normal and Terminal-Normal mode
Commit: https://github.com/vim/vim/commit/72406a4bd2896915b6f541e26d41521a59b1f846
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Oct 2 16:34:55 2021 +0100
patch 8.2.3461: cannot distinguish Normal and Terminal-Normal mode
Problem: Cannot distinguish Normal and Terminal-Normal mode.
Solution: Make mode() return "nt" for Terminal-Normal mode. (issue https://github.com/vim/vim/issues/8856)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 02 Oct 2021 17:45:03 +0200 |
parents | 6f615b2fdc66 |
children | 6776d3fbf13b |
comparison
equal
deleted
inserted
replaced
25853:6cb99ee013ca | 25854:2d0bea8aed33 |
---|---|
8059 If [expr] is supplied and it evaluates to a non-zero Number or | 8059 If [expr] is supplied and it evaluates to a non-zero Number or |
8060 a non-empty String (|non-zero-arg|), then the full mode is | 8060 a non-empty String (|non-zero-arg|), then the full mode is |
8061 returned, otherwise only the first letter is returned. | 8061 returned, otherwise only the first letter is returned. |
8062 Also see |state()|. | 8062 Also see |state()|. |
8063 | 8063 |
8064 n Normal, Terminal-Normal | 8064 n Normal |
8065 no Operator-pending | 8065 no Operator-pending |
8066 nov Operator-pending (forced characterwise |o_v|) | 8066 nov Operator-pending (forced characterwise |o_v|) |
8067 noV Operator-pending (forced linewise |o_V|) | 8067 noV Operator-pending (forced linewise |o_V|) |
8068 noCTRL-V Operator-pending (forced blockwise |o_CTRL-V|); | 8068 noCTRL-V Operator-pending (forced blockwise |o_CTRL-V|); |
8069 CTRL-V is one character | 8069 CTRL-V is one character |
8070 niI Normal using |i_CTRL-O| in |Insert-mode| | 8070 niI Normal using |i_CTRL-O| in |Insert-mode| |
8071 niR Normal using |i_CTRL-O| in |Replace-mode| | 8071 niR Normal using |i_CTRL-O| in |Replace-mode| |
8072 niV Normal using |i_CTRL-O| in |Virtual-Replace-mode| | 8072 niV Normal using |i_CTRL-O| in |Virtual-Replace-mode| |
8073 nt Terminal-Normal (insert goes to Terminal-Job mode) | |
8073 v Visual by character | 8074 v Visual by character |
8074 V Visual by line | 8075 V Visual by line |
8075 CTRL-V Visual blockwise | 8076 CTRL-V Visual blockwise |
8076 s Select by character | 8077 s Select by character |
8077 S Select by line | 8078 S Select by line |