summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-12-27 23:44:44 +0100
committerBram Moolenaar <Bram@vim.org>2018-12-27 23:44:44 +0100
commit5976f8ff00efcb3e155a89346e44f2ad43d2405a (patch)
tree31bff7f7afdc7884dbcee07406e6c575784c16b5 /runtime
parentd385b5d329a6a98539fa21cfb60ed632cd03d544 (diff)
downloadvim-git-5976f8ff00efcb3e155a89346e44f2ad43d2405a.tar.gz
patch 8.1.0648: custom operators can't act upon a forced motionv8.1.0648
Problem: Custom operators can't act upon a forced motion. (Christian Wellenbrock) Solution: Add the forced motion to the mode() result. (Christian Brabandt, closes #3490)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/eval.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 85b9e4419..927912fd8 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -6324,6 +6324,10 @@ mode([expr]) Return a string that indicates the current mode.
n Normal, Terminal-Normal
no Operator-pending
+ nov Operator-pending (forced characterwise |o_v|)
+ noV Operator-pending (forced linewise |o_V|)
+ noCTRL-V Operator-pending (forced blockwise |o_CTRL-V|);
+ CTRL-V is one character
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|