@@ -6,7 +6,8 @@ import type { Denops } from "https://deno.land/x/denops_core@v4.0.0/mod.ts";
6
6
* a non-empty String (|non-zero-arg|), then the full mode is
7
7
* returned, otherwise only the first letter is returned.
8
8
* Also see |state()|.
9
- * n Normal, Terminal-Normal
9
+ *
10
+ * n Normal
10
11
* no Operator-pending
11
12
* nov Operator-pending (forced characterwise |o_v|)
12
13
* noV Operator-pending (forced linewise |o_V|)
@@ -15,9 +16,13 @@ import type { Denops } from "https://deno.land/x/denops_core@v4.0.0/mod.ts";
15
16
* niI Normal using |i_CTRL-O| in |Insert-mode|
16
17
* niR Normal using |i_CTRL-O| in |Replace-mode|
17
18
* niV Normal using |i_CTRL-O| in |Virtual-Replace-mode|
19
+ * nt Terminal-Normal (insert goes to Terminal-Job mode)
18
20
* v Visual by character
21
+ * vs Visual by character using |v_CTRL-O| in Select mode
19
22
* V Visual by line
23
+ * Vs Visual by line using |v_CTRL-O| in Select mode
20
24
* CTRL-V Visual blockwise
25
+ * CTRL-Vs Visual blockwise using |v_CTRL-O| in Select mode
21
26
* s Select by character
22
27
* S Select by line
23
28
* CTRL-S Select blockwise
@@ -26,8 +31,10 @@ import type { Denops } from "https://deno.land/x/denops_core@v4.0.0/mod.ts";
26
31
* ix Insert mode |i_CTRL-X| completion
27
32
* R Replace |R|
28
33
* Rc Replace mode completion |compl-generic|
29
- * Rv Virtual Replace |gR|
30
34
* Rx Replace mode |i_CTRL-X| completion
35
+ * Rv Virtual Replace |gR|
36
+ * Rvc Virtual Replace mode completion |compl-generic|
37
+ * Rvx Virtual Replace mode |i_CTRL-X| completion
31
38
* c Command-line editing
32
39
* cv Vim Ex mode |gQ|
33
40
* ce Normal Ex mode |Q|
@@ -36,12 +43,14 @@ import type { Denops } from "https://deno.land/x/denops_core@v4.0.0/mod.ts";
36
43
* r? A |:confirm| query of some sort
37
44
* ! Shell or external command is executing
38
45
* t Terminal-Job mode: keys go to the job
46
+ *
39
47
* This is useful in the 'statusline' option or when used
40
48
* with |remote_expr()| In most other places it always returns
41
49
* "c" or "n".
42
50
* Note that in the future more modes and more specific modes may
43
51
* be added. It's better not to compare the whole string but only
44
52
* the leading character(s).
53
+ *
45
54
* Also see |visualmode()|.
46
55
* Can also be used as a |method|:
47
56
* DoFull()->mode()
0 commit comments