diff options
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | src/conf.rs | 4 |
3 files changed, 6 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 51a2556..7a2353e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ - make :open_stay and :open_leave work in help screen (applying on configuration file) - Mac/fish: use ~/.config/fish even on systems where the config home is usually different - Mac/bash: add .bash_profile to the list of possible sourcing files +- define ctrl-c as a new way to quit <a name="v0.11.3"></a> ### v0.11.3 - 2020-01-09 @@ -42,7 +42,7 @@ Most useful keys for this: * `<enter>` to select a directory (staying in broot) * `<esc>` to get back to the previous state or clear your search * `<alt><enter>` to get back to the shell having `cd` to the selected directory -* `:q` if you just want to quit (`<esc>` works too) +* `:q` if you just want to quit (`<esc>`, or `<ctrl><q>` or `<ctrl><c>` work too) ### Never lose track of file hierarchy while you search diff --git a/src/conf.rs b/src/conf.rs index cad675c..530a055 100644 --- a/src/conf.rs +++ b/src/conf.rs @@ -185,6 +185,10 @@ shortcut = "e" execution = "$EDITOR {file}" [[verbs]] +key = "ctrl-c" +execution = ":quit" + +[[verbs]] invocation = "create {subpath}" execution = "$EDITOR {directory}/{subpath}" |