aboutsummaryrefslogtreecommitdiff
path: root/book/src/keymap.md
diff options
context:
space:
mode:
authorBob2021-11-23 14:08:05 +0000
committerGitHub2021-11-23 14:08:05 +0000
commit21143e8d22c13ead8c1835063acb518aa5a42822 (patch)
tree25dadbba9b63809edb00d8dff42eb02e14377d41 /book/src/keymap.md
parentf24e5a3c414363c6847fd7e806b434f8a6772ef9 (diff)
Align selections via & (#1101)
* align lines * remove log statement * use selections to align * fix a clippy issue * only accept 1,2,3 as user count * Update helix-term/src/commands.rs Co-authored-by: Ivan Tham <pickfire@riseup.net> * return if user count is not correct * add doc Co-authored-by: Ivan Tham <pickfire@riseup.net>
Diffstat (limited to 'book/src/keymap.md')
-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 c88ed767..fbe77267 100644
--- a/book/src/keymap.md
+++ b/book/src/keymap.md
@@ -92,6 +92,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` |
+| `&` | Align selection in columns | `align_selections` |
| `_` | Trim whitespace from the selection | `trim_selections` |
| `;` | Collapse selection onto a single cursor | `collapse_selection` |
| `Alt-;` | Flip selection cursor and anchor | `flip_selections` |