summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2018-03-25 11:34:38 +1100
committerMaxime Coste <mawww@kakoune.org>2018-03-25 11:39:26 +1100
commitec7f3738ee08fa3c2e095d29dcb61eab37ba434f (patch)
tree117bab642dd25604ab8cbc48930f26eba4a47299 /doc
parent683ce8e83b0a4a3ae17567967f68539456a35ffc (diff)
Move rotate selection and rotate selection contents to ) and <a-)>
Backward rotation are supported with (. Fixes #1210
Diffstat (limited to 'doc')
-rw-r--r--doc/keymap4
-rw-r--r--doc/pages/keys.asciidoc13
2 files changed, 10 insertions, 7 deletions
diff --git a/doc/keymap b/doc/keymap
index da2ca472..7ef9fcb5 100644
--- a/doc/keymap
+++ b/doc/keymap
@@ -1,5 +1,5 @@
┌───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┲━━━━━━━━━━━━━━┓
-│ upper│ cmdout│convtab│ │selpipe│sel all│ │ align│pattern│ │ │ trim│ ┃ ⇤ ┃
+│ upper│ cmdout│convtab│ │selpipe│sel all│ │ align│pattern│ rotate│ rotate│ trim│ ┃ ⇤ ┃
├┄┄CASE┄┼┄┄┄┄┄┄┄┼┄┄┄┄┄┄┄┼┄┄┄┄┄┄┄┼┄┄┄┄┄┄┄┼┄┄┄┄┄┄┄┼┄┄┄┄┄┄┄┼┄┄┄┄┄┄┄┼┄┄┄┄┄┄┄┼┄┄┄┄┄┄┄┼┄┄┄┄┄┄┄┼┄┄┄┄┄┄┄┼┄┄┄┄┄┄┄┨ ┃
│ lower│ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ │ ┃ ┃
┢━━━━━━━┷━━━┱───┴───┬───┴───┬───┴───┬───┴───┬───┴───┬───┴───┬───┴───┬───┴───┬───┴───┬───┴───┬───┴───┬───┺━━━┳━━━━━━━━━━┫
@@ -9,7 +9,7 @@
┣━━━━━━━━━━━┻━┱─────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┺━┓ ┃
┃ ⇬ ┃ APPEND│ split│ │ ᵐʳ│ ᵐᵍ│ ᵐˡ│ ᵐ│ ᵐ│ ᵐˡ│cmdline│use reg│ pipe┃ ┃
┃ ┠┄┄┄┄┄┄┄┼┄┄┄┄┄┄┄┼┄┄┄┄┄┄┄┤ find│ goto │ │ │ │ ├┄┄┄┄┄┄┄┼┄┄┄┄┄┄┄┼┄┄┄┄┄┄┄┨ ┃
-┃ ┃ append│ select│ delete│ char│ │ ← │ ↓ │ ↑ │ → │ cursor│ rotate│eschook┃ ┃
+┃ ┃ append│ select│ delete│ char│ │ ← │ ↓ │ ↑ │ → │ cursor│ │eschook┃ ┃
┣━━━━━━━━━┳━━━┹───┬───┴───┬───┴───┬───┴───┬───┴───┬───┴───┬───┴───┬───┴───┬───┴───┬───┴───┬───┴───┲━━━┷━━━━━━━┻━━━━━━━━┫
┃ ┃ indent│ save│ ᵐ│copysel│ ᵛ│ ᵐʷ│ ᵐʳ│ │ dedent│ indent│ ᵐʳ┃ ┃
┃ ┠┄┄┄┄┄┄┄┼┄MARKS┄┤ select├┄┄┄┄┄┄┄┤ view│ prev│ search│ match├┄┄┄┄┄┄┄┼┄┄┄┄┄┄┄┤ search┃ ┃
diff --git a/doc/pages/keys.asciidoc b/doc/pages/keys.asciidoc
index a91fdbc3..76512929 100644
--- a/doc/pages/keys.asciidoc
+++ b/doc/pages/keys.asciidoc
@@ -196,11 +196,11 @@ is a sequence of non whitespace characters
*<c-d>*::
scroll half a page down
-*'*::
- rotate selections (the main selection becomes the next one)
+*)*::
+ rotate main selection (the main selection becomes the next one)
-*<a-'>*::
- rotate selections backwards
+*(*::
+ rotate main selection backward (the main selection becomes the previous one)
*;*::
reduce selections to their cursor
@@ -362,7 +362,7 @@ is a sequence of non whitespace characters
*_*::
trim selections
-*<a-">*::
+*<a-)>*::
rotate selections content, if specified, the count groups selections,
so the following command
@@ -372,6 +372,9 @@ is a sequence of non whitespace characters
rotate (1, 2, 3) and (3, 4, 6) independently
+*<a-(>*::
+ rotate selections content backward
+
== Goto commands
*g*, *G*::