add move_up/down

pull/88/head
Takayuki Maeda 3 years ago
parent ff6e18489c
commit 8d077c5f10

@ -77,6 +77,8 @@ pub struct KeyConfig {
pub scroll_down: Key,
pub scroll_right: Key,
pub scroll_left: Key,
pub move_up: Key,
pub move_down: Key,
pub copy: Key,
pub enter: Key,
pub exit: Key,
@ -109,6 +111,8 @@ impl Default for KeyConfig {
scroll_down: Key::Char('j'),
scroll_right: Key::Char('l'),
scroll_left: Key::Char('h'),
move_up: Key::Up,
move_down: Key::Down,
copy: Key::Char('y'),
enter: Key::Enter,
exit: Key::Ctrl('c'),

Loading…
Cancel
Save