summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/config/bindings.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config/bindings.rs b/src/config/bindings.rs
index 2cf22de9..410b6804 100644
--- a/src/config/bindings.rs
+++ b/src/config/bindings.rs
@@ -68,17 +68,21 @@ pub fn default_key_bindings() -> Vec<KeyBinding> {
Key::Copy; Action::Copy;
Key::L, [ctrl: true]; Action::ClearLogNotice;
Key::L, [ctrl: true]; Action::Esc("\x0c".into());
+ Key::Home, [alt: true]; Action::Esc("\x1b[1;3H".into());
Key::Home, +TermMode::APP_CURSOR; Action::Esc("\x1bOH".into());
Key::Home, ~TermMode::APP_CURSOR; Action::Esc("\x1b[H".into());
+ Key::End, [alt: true]; Action::Esc("\x1b[1;3F".into());
Key::End, +TermMode::APP_CURSOR; Action::Esc("\x1bOF".into());
Key::End, ~TermMode::APP_CURSOR; Action::Esc("\x1b[F".into());
Key::PageUp, [shift: true], ~TermMode::ALT_SCREEN; Action::ScrollPageUp;
Key::PageUp, [shift: true], +TermMode::ALT_SCREEN; Action::Esc("\x1b[5;2~".into());
Key::PageUp, [ctrl: true]; Action::Esc("\x1b[5;5~".into());
+ Key::PageUp, [alt: true]; Action::Esc("\x1b[5;3~".into());
Key::PageUp; Action::Esc("\x1b[5~".into());
Key::PageDown, [shift: true], ~TermMode::ALT_SCREEN; Action::ScrollPageDown;
Key::PageDown, [shift: true], +TermMode::ALT_SCREEN; Action::Esc("\x1b[6;2~".into());
Key::PageDown, [ctrl: true]; Action::Esc("\x1b[6;5~".into());
+ Key::PageDown, [alt: true]; Action::Esc("\x1b[6;3~".into());
Key::PageDown; Action::Esc("\x1b[6~".into());
Key::Tab, [shift: true]; Action::Esc("\x1b[Z".into());
Key::Back; Action::Esc("\x7f".into());