Skip to content

Commit 88768ae

Browse files
committed
👍 Update documentation for various-function
1 parent 933434b commit 88768ae

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

denops_std/function/various.ts

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ import type { Denops } from "https://deno.land/x/denops_core@v4.0.0/mod.ts";
66
* a non-empty String (|non-zero-arg|), then the full mode is
77
* returned, otherwise only the first letter is returned.
88
* Also see |state()|.
9-
* n Normal, Terminal-Normal
9+
*
10+
* n Normal
1011
* no Operator-pending
1112
* nov Operator-pending (forced characterwise |o_v|)
1213
* 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";
1516
* niI Normal using |i_CTRL-O| in |Insert-mode|
1617
* niR Normal using |i_CTRL-O| in |Replace-mode|
1718
* niV Normal using |i_CTRL-O| in |Virtual-Replace-mode|
19+
* nt Terminal-Normal (insert goes to Terminal-Job mode)
1820
* v Visual by character
21+
* vs Visual by character using |v_CTRL-O| in Select mode
1922
* V Visual by line
23+
* Vs Visual by line using |v_CTRL-O| in Select mode
2024
* CTRL-V Visual blockwise
25+
* CTRL-Vs Visual blockwise using |v_CTRL-O| in Select mode
2126
* s Select by character
2227
* S Select by line
2328
* CTRL-S Select blockwise
@@ -26,8 +31,10 @@ import type { Denops } from "https://deno.land/x/denops_core@v4.0.0/mod.ts";
2631
* ix Insert mode |i_CTRL-X| completion
2732
* R Replace |R|
2833
* Rc Replace mode completion |compl-generic|
29-
* Rv Virtual Replace |gR|
3034
* 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
3138
* c Command-line editing
3239
* cv Vim Ex mode |gQ|
3340
* ce Normal Ex mode |Q|
@@ -36,12 +43,14 @@ import type { Denops } from "https://deno.land/x/denops_core@v4.0.0/mod.ts";
3643
* r? A |:confirm| query of some sort
3744
* ! Shell or external command is executing
3845
* t Terminal-Job mode: keys go to the job
46+
*
3947
* This is useful in the 'statusline' option or when used
4048
* with |remote_expr()| In most other places it always returns
4149
* "c" or "n".
4250
* Note that in the future more modes and more specific modes may
4351
* be added. It's better not to compare the whole string but only
4452
* the leading character(s).
53+
*
4554
* Also see |visualmode()|.
4655
* Can also be used as a |method|:
4756
* DoFull()->mode()

0 commit comments

Comments
 (0)