summaryrefslogtreecommitdiff
path: root/book/src
diff options
context:
space:
mode:
authorath32021-11-14 15:16:20 +0000
committerGitHub2021-11-14 15:16:20 +0000
commit6fa76d9fe77d43ebc18cc78a6a1c1957d72cf59b (patch)
tree8998e33a6b7b19e87c79dae0b8c1edc824ab4e3e /book/src
parentedc976b6bb36c6017bf59691abbde5c086267bfd (diff)
Add trim_selections command (#1092)
Diffstat (limited to 'book/src')
-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 9f1714f6..69f5f02c 100644
--- a/book/src/keymap.md
+++ b/book/src/keymap.md
@@ -88,6 +88,7 @@
| `s` | Select all regex matches inside selections | `select_regex` |
| `S` | Split selection into subselections on regex matches | `split_selection` |
| `Alt-s` | Split selection on newlines | `split_selection_on_newline` |
+| `_` | Trim whitespace from the selection | `trim_selections` |
| `;` | Collapse selection onto a single cursor | `collapse_selection` |
| `Alt-;` | Flip selection cursor and anchor | `flip_selections` |
| `,` | Keep only the primary selection | `keep_primary_selection` |