From 7265e2df9f967ca6f87d4bcdc4fbce4ba4cfabca Mon Sep 17 00:00:00 2001 From: Takayuki Maeda Date: Tue, 21 Sep 2021 00:01:42 +0900 Subject: [PATCH] add a key for executing queries --- src/config.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/config.rs b/src/config.rs index fbf12b6..9bc0511 100644 --- a/src/config.rs +++ b/src/config.rs @@ -82,6 +82,7 @@ pub struct KeyConfig { pub move_down: Key, pub copy: Key, pub enter: Key, + pub run: Key, pub exit: Key, pub quit: Key, pub exit_popup: Key, @@ -120,6 +121,7 @@ impl Default for KeyConfig { move_down: Key::Down, copy: Key::Char('y'), enter: Key::Enter, + run: Key::Ctrl('r'), exit: Key::Ctrl('c'), quit: Key::Char('q'), exit_popup: Key::Esc,