diff options
| author | Maxime Coste <mawww@kakoune.org> | 2019-02-03 09:52:22 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2019-02-03 09:52:22 +1100 |
| commit | 0dbbaaaa8f61130ff99c2d472fd963ec5676c16f (patch) | |
| tree | 468a6bb7aa995792a4c61c9f1914b3ad252adda1 | |
| parent | b91367f8a3b6e712888988a15f1242b478a8fcdd (diff) | |
| parent | 0d8d32cf385ce6c4b07870cf9cbd9b889e843d58 (diff) | |
Merge remote-tracking branch 'JJK96/select-count'
| -rw-r--r-- | doc/pages/keys.asciidoc | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/doc/pages/keys.asciidoc b/doc/pages/keys.asciidoc index f37e049c..35febbdf 100644 --- a/doc/pages/keys.asciidoc +++ b/doc/pages/keys.asciidoc @@ -77,7 +77,7 @@ the value specified in the `idle_timeout` option is reached. == Using Counts -In normal mode, commands can be prefixed with a numeric count, which can control +In normal mode, commands can be prefixed with a numeric `count`, which can control the command behaviour. For example, *3W* selects 3 consecutive words and *3w* select the third word on @@ -227,11 +227,11 @@ Yanking (copying) and pasting use the *"* register by default (See <<registers#, the end of each selection *o*:: - enter insert mode in a new line (or in a given count of new lines) + enter insert mode in a new line (or in a given `count` of new lines) below the end of each selection *O*:: - enter insert mode in a new line (or in a given count of new lines) + enter insert mode in a new line (or in a given `count` of new lines) above the beginning of each selection *<a-o>*:: @@ -304,7 +304,7 @@ Yanking (copying) and pasting use the *"* register by default (See <<registers#, *<a-&>*:: copy indent, copy the indentation of the main selection (or the - count one if a count is given) to all other ones + `count` one if a `count` is given) to all other ones *`*:: to lower case @@ -317,18 +317,18 @@ Yanking (copying) and pasting use the *"* register by default (See <<registers#, *@*:: convert tabs to spaces in each selection, uses the buffer tabstop - option or the count parameter for tabstop + option or the `count` parameter for tabstop *<a-@>*:: convert spaces to tabs in each selection, uses the buffer tabstop - option or the count parameter for tabstop + option or the `count` parameter for tabstop *_*:: unselect whitespace surrounding each selection, drop those that only contain whitespace *<a-)>*:: - rotate selections content, if specified, the count groups selections, + rotate selections content, if specified, the `count` groups selections, so the following command ---------- @@ -398,7 +398,7 @@ Searches use the */* register by default (See <<registers#,`:doc registers`>>) == Goto commands *g*, *G*:: - When a count is specified, *G* only extends the selection to the given line, + When a `count` is specified, *G* only extends the selection to the given line, *g* sends the anchor to the given line and a menu is then displayed which waits for one of the following additional keys: @@ -458,16 +458,16 @@ Searches use the */* register by default (See <<registers#,`:doc registers`>>) scroll to put the main selection on the bottom line of the window *h*::: - scroll the window count columns left + scroll the window `count` columns left *j*::: - scroll the window count line downward + scroll the window `count` line downward *k*::: - scroll the window count line upward + scroll the window `count` line upward *l*::: - scroll the window count columns right + scroll the window `count` columns right == Marks @@ -540,9 +540,11 @@ to skim through the jump list using: *s*:: create a selection for each match of the given regex + (selects the count capture if it is given) *S*:: split selections with the given regex + (selects the count capture if it is given) *<a-s>*:: split selections on line boundaries @@ -581,7 +583,7 @@ to skim through the jump list using: == Object Selection -For nestable objects, a count can be used in order to specify which surrounding +For nestable objects, a `count` can be used in order to specify which surrounding level to select. Object selections are repeatable using *<a-.>*. === Whole object |
