diff options
author | ath3 | 2021-11-14 15:16:20 +0000 |
---|---|---|
committer | GitHub | 2021-11-14 15:16:20 +0000 |
commit | 6fa76d9fe77d43ebc18cc78a6a1c1957d72cf59b (patch) | |
tree | 8998e33a6b7b19e87c79dae0b8c1edc824ab4e3e /book | |
parent | edc976b6bb36c6017bf59691abbde5c086267bfd (diff) |
Add trim_selections command (#1092)
Diffstat (limited to 'book')
-rw-r--r-- | book/src/keymap.md | 1 |
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` | |