diff options
author | Vinegret43 <67828321+Vinegret43@users.noreply.github.com> | 2021-10-02 15:20:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-02 08:20:02 -0400 |
commit | 5e3839ad3255d7056c00d09e479c234b87730ba8 (patch) | |
tree | c64f16062563c73571b24d5e4baf5bef866bf610 /src/config | |
parent | 44c1952831abc4bc8496dfd60e72e47dcdc45caa (diff) |
Add a help page (#95)
* add basic help page functionality
change search_skim keybind
* refactor 'run' function, improve sorting
* add search functionality for help page
improve some comments in tui_help
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/keymap/keymapping.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config/keymap/keymapping.rs b/src/config/keymap/keymapping.rs index 4a2e24e..071bdf7 100644 --- a/src/config/keymap/keymapping.rs +++ b/src/config/keymap/keymapping.rs @@ -236,6 +236,10 @@ impl AppKeyMapping { let keys = [Event::Key(Key::Char('c')), Event::Key(Key::Char('w'))]; insert_keycommand(&mut m, cmd, &keys)?; + let cmd = KeyCommand::Help; + let keys = [Event::Key(Key::Char('?'))]; + insert_keycommand(&mut m, cmd, &keys)?; + Ok(()) } } |