aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Tham2021-12-12 13:09:01 +0000
committerBlaž Hrastnik2021-12-27 01:13:18 +0000
commitc7a59e24e6e1609dd65e5ee66fef52f76aabe9b7 (patch)
treec555c918afdd692e32450373e9fcf833feac96f2
parenta306a1052a51c686b24a6f339190878b8029a894 (diff)
Switch macro Q and q
-rw-r--r--book/src/keymap.md4
-rw-r--r--helix-term/src/keymap.rs4
2 files changed, 4 insertions, 4 deletions
diff --git a/book/src/keymap.md b/book/src/keymap.md
index d84b17b8..e1df545d 100644
--- a/book/src/keymap.md
+++ b/book/src/keymap.md
@@ -77,8 +77,8 @@
| `Alt-c` | Change selection (delete and enter insert mode, without yanking) | `change_selection_noyank` |
| `Ctrl-a` | Increment object (number) under cursor | `increment` |
| `Ctrl-x` | Decrement object (number) under cursor | `decrement` |
-| `q` | Start/stop macro recording to the selected register | `record_macro` |
-| `Q` | Play back a recorded macro from the selected register | `play_macro` |
+| `Q` | Start/stop macro recording to the selected register | `record_macro` |
+| `q` | Play back a recorded macro from the selected register | `play_macro` |
#### Shell
diff --git a/helix-term/src/keymap.rs b/helix-term/src/keymap.rs
index 257d5f29..917a0990 100644
--- a/helix-term/src/keymap.rs
+++ b/helix-term/src/keymap.rs
@@ -593,8 +593,8 @@ impl Default for Keymaps {
// paste_all
"P" => paste_before,
- "q" => record_macro,
- "Q" => play_macro,
+ "Q" => record_macro,
+ "q" => play_macro,
">" => indent,
"<" => unindent,