chore: Update quit default keybinding to esc
Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
parent
f73800a3a5
commit
40804863c2
3 changed files with 4 additions and 4 deletions
|
@ -60,7 +60,7 @@ The key bindings are configurable. For the set of configurable keys and key comb
|
|||
| `r` | `--keybinding.rename_mode=r` | Enter rename mode (To exit rename mode press `quit` keybinding) |
|
||||
| `ctrl+r` | `--keybinding.reload=r` | collapse all directories and reload root directory |
|
||||
| `return` | `--keybinding.file_action=return` | perform configured file action |
|
||||
| `ctrl+q` | `--keybinding.quit=q` | quit |
|
||||
| `esc` | `--keybinding.quit=esc` | quit |
|
||||
|
||||
### Directory entry management
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ impl Default for Keybinding {
|
|||
|
||||
impl Keybinding {
|
||||
fn default_quit() -> String {
|
||||
String::from("ctrl+q")
|
||||
String::from("esc")
|
||||
}
|
||||
fn default_entry_up() -> String {
|
||||
String::from("up")
|
||||
|
|
|
@ -47,7 +47,7 @@ entry_up = "up"
|
|||
expand_dir = "right"
|
||||
file_action = "return"
|
||||
rename_mode = "r"
|
||||
quit = "ctrl+q"
|
||||
quit = "esc"
|
||||
reload = "ctrl+r"
|
||||
skip_up = "ctrl+up"
|
||||
skip_down = "ctrl+down"
|
||||
|
@ -56,4 +56,4 @@ skip_down = "ctrl+down"
|
|||
# the working directory used when starting
|
||||
working_dir = "."
|
||||
# when true the working directory is shown in the header
|
||||
with_cwd_header = true
|
||||
with_cwd_header = true
|
||||
|
|
Loading…
Reference in a new issue