aboutsummaryrefslogtreecommitdiff
path: root/book
diff options
context:
space:
mode:
authorOmnikar2021-11-12 00:34:08 +0000
committerGitHub2021-11-12 00:34:08 +0000
commitbf95a9ed043242d95e431412e45e218d40a5695a (patch)
treeb3b141542fd05f088fabadeb67681dcd560bdbe2 /book
parent9d591427be900b7a43fc7e13dd86f31199e8c00e (diff)
Add `remove_selections` command (#1065)
* Add `remove_selections` command * Document `remove_selections` * Update helix-term/src/keymap.rs Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
Diffstat (limited to 'book')
-rw-r--r--book/src/keymap.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/book/src/keymap.md b/book/src/keymap.md
index 901c8471..7a9a4378 100644
--- a/book/src/keymap.md
+++ b/book/src/keymap.md
@@ -101,6 +101,7 @@
| | Expand selection to parent syntax node TODO: pick a key | `expand_selection` |
| `J` | Join lines inside selection | `join_selections` |
| `K` | Keep selections matching the regex | `keep_selections` |
+| `Alt-K` | Remove selections matching the regex | `remove_selections` |
| `$` | Pipe each selection into shell command, keep selections where command returned 0 | `shell_keep_pipe` |
| `Ctrl-c` | Comment/uncomment the selections | `toggle_comments` |