aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/keymap.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2020-12-17 09:08:16 +0000
committerBlaž Hrastnik2020-12-17 09:08:16 +0000
commit7c75ec04e8db825f24f311d0c26109310738183d (patch)
treeacfcecf626aab578fc59dbbd406e0c38a8912348 /helix-term/src/keymap.rs
parented60866c5485c8f7e8d2e12fd34dd8243d079b2a (diff)
File picker mockup, reuses the line editor work done on Prompt.
Diffstat (limited to 'helix-term/src/keymap.rs')
-rw-r--r--helix-term/src/keymap.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/helix-term/src/keymap.rs b/helix-term/src/keymap.rs
index 884c04a1..a31676e4 100644
--- a/helix-term/src/keymap.rs
+++ b/helix-term/src/keymap.rs
@@ -183,6 +183,8 @@ pub fn default() -> Keymaps {
}] => commands::page_down,
vec![ctrl!('u')] => commands::half_page_up,
vec![ctrl!('d')] => commands::half_page_down,
+
+ vec![ctrl!('p')] => commands::file_picker,
),
Mode::Insert => hashmap!(
vec![Key {