summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2022-01-06 15:26:46 +0100
committerCanop <cano.petrole@gmail.com>2022-01-06 15:26:46 +0100
commita053fa1ff86ef4d330931c4ce8e7df3c1fe6bb80 (patch)
treee22ebe7e682d17177c183712611dcdc2947716ce /src
parenta00b0dc3901fbe42212b596861202191d85ed305 (diff)
change default bindings of Home and End keys
There's now bound to :input_go_to_start and :input_go_to_end I did this to be consistent with the documentation but I had to remove their other bindings so users might want to restore them: They were previously bound to :select_first and :select_last Fix #475
Diffstat (limited to 'src')
-rw-r--r--src/verb/builtin.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/verb/builtin.rs b/src/verb/builtin.rs
index 7cfca68..b8da1de 100644
--- a/src/verb/builtin.rs
+++ b/src/verb/builtin.rs
@@ -60,10 +60,10 @@ pub fn builtin_verbs() -> Vec<Verb> {
internal(input_del_char_below).no_doc(),
internal(input_del_word_left).no_doc(),
internal(input_del_word_right).no_doc(),
- internal(input_go_to_end).no_doc(),
+ internal(input_go_to_end).with_key(END).no_doc(),
internal(input_go_left).no_doc(),
internal(input_go_right).no_doc(),
- internal(input_go_to_start).no_doc(),
+ internal(input_go_to_start).with_key(HOME).no_doc(),
internal(input_go_word_left).no_doc(),
internal(input_go_word_right).no_doc(),
@@ -210,8 +210,8 @@ pub fn builtin_verbs() -> Vec<Verb> {
code: KeyCode::Down,
modifiers: KeyModifiers::CONTROL,
}),
- internal(select_first).with_key(HOME),
- internal(select_last).with_key(END),
+ internal(select_first),
+ internal(select_last),
internal(clear_stage).with_shortcut("cls"),
internal(stage)
.with_char_key('+'),