Skip to content

Commit

Permalink
use f to enter file mode instead of F
Browse files Browse the repository at this point in the history
  • Loading branch information
QiBaobin committed Jul 15, 2022
1 parent f7ede14 commit 4f1e197
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 2 additions & 3 deletions book/src/keymap.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,7 @@ This layer is a kludge of mappings, mostly pickers.

| Key | Description | Command |
| ----- | ----------- | ------- |
| `f` | Open file picker | `file_picker` |
| `F` | Enter [File mode](#file-mode) | N/A |
| `f` | Enter [File mode](#file-mode) | N/A |
| `b` | Open buffer picker | `buffer_picker` |
| `k` | Show documentation for item under cursor in a [popup](#popup) (**LSP**) | `hover` |
| `s` | Open document symbol picker (**LSP**) | `symbol_picker` |
Expand All @@ -260,7 +259,7 @@ This layer is a kludge of mappings, mostly pickers.
#### File mode

This layer is a kludge of mappings, mostly pickers.
This layer is a collection of file-opening commands.


| Key | Description | Command |
Expand Down
3 changes: 1 addition & 2 deletions helix-term/src/keymap/default.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,7 @@ pub fn default() -> HashMap<Mode, Keymap> {
"C-s" => save_selection,

"space" => { "Space"
"f" => file_picker,
"F" => { "File"
"f" => { "File"
"f" => file_picker,
"F" => file_picker_in_current_directory,
"d" => file_picker_in_buffer_directory,
Expand Down

0 comments on commit 4f1e197

Please sign in to comment.