aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/keymap.rs
diff options
context:
space:
mode:
authorBob2021-11-23 14:08:05 +0000
committerGitHub2021-11-23 14:08:05 +0000
commit21143e8d22c13ead8c1835063acb518aa5a42822 (patch)
tree25dadbba9b63809edb00d8dff42eb02e14377d41 /helix-term/src/keymap.rs
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 'helix-term/src/keymap.rs')
-rw-r--r--helix-term/src/keymap.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/keymap.rs b/helix-term/src/keymap.rs
index bf3b594e..7f6d0c6b 100644
--- a/helix-term/src/keymap.rs
+++ b/helix-term/src/keymap.rs
@@ -604,7 +604,7 @@ impl Default for Keymaps {
// "q" => record_macro,
// "Q" => replay_macro,
- // & align selections
+ "&" => align_selections,
"_" => trim_selections,
"(" => rotate_selections_backward,