Add Alt-Left and Alt-Right for history navigation

Common shortcuts.
This commit is contained in:
Josh Megnauth 2024-02-06 03:14:12 -05:00 committed by Jeremy Soller
parent 6378d54f7b
commit 843997a0d8
2 changed files with 6 additions and 0 deletions

View file

@ -55,6 +55,8 @@ pub fn key_binds() -> HashMap<KeyBind, Action> {
bind!([Ctrl], C, Copy);
bind!([Ctrl], X, Cut);
bind!([Alt], Right, HistoryNext);
bind!([Alt], Left, HistoryPrevious);
bind!([Ctrl], V, Paste);
bind!([Ctrl], A, SelectAll);
bind!([Ctrl], W, TabClose);