aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/keymap
diff options
context:
space:
mode:
authorgavynriebau2022-04-10 02:30:09 +0000
committerGitHub2022-04-10 02:30:09 +0000
commit562874a720678a238966c69f413cb3d691f74c66 (patch)
tree019341999d072065b592e4063d23504689f71978 /helix-term/src/keymap
parent494306ad7ae8ffb45d4d7d906528b64812eee3a5 (diff)
Add command for picking files from CWD (#1600)
The `file_picker_at_current_directory` command opens the file picker at the current working directory (CWD). This can be useful when paired with the built-in `:cd` command which changes the CWD. It has been mapped to `space F` by default.
Diffstat (limited to 'helix-term/src/keymap')
-rw-r--r--helix-term/src/keymap/default.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-term/src/keymap/default.rs b/helix-term/src/keymap/default.rs
index a8144ebc..18ebbcfe 100644
--- a/helix-term/src/keymap/default.rs
+++ b/helix-term/src/keymap/default.rs
@@ -196,6 +196,7 @@ pub fn default() -> HashMap<Mode, Keymap> {
"space" => { "Space"
"f" => file_picker,
+ "F" => file_picker_in_current_directory,
"b" => buffer_picker,
"s" => symbol_picker,
"S" => workspace_symbol_picker,