summaryrefslogtreecommitdiffstats
path: root/website/docs
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2021-05-06 21:52:07 +0200
committerCanop <cano.petrole@gmail.com>2021-05-06 21:54:18 +0200
commit6c4b5ced881851ab38e65061c46ea0760ed9c384 (patch)
tree5d09a79bc56dbc956aeb3bfe899dfe6d5d578dbf /website/docs
parentf339c301135fd45db8827515a1929fab81ba13af (diff)
config / quit_on_last_cancel
configure whether to quit when the user hits the escape key and there's nothing to cancel Fix #380
Diffstat (limited to 'website/docs')
-rw-r--r--website/docs/conf_file.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/website/docs/conf_file.md b/website/docs/conf_file.md
index 1bd68a0..49da32d 100644
--- a/website/docs/conf_file.md
+++ b/website/docs/conf_file.md
@@ -100,6 +100,19 @@ It's possible to redefine the mode mappings, for example if you usually prefer t
Note: I'd insist on you not overwriting default mode mappings before you master how broot is used and what those modes exactly work.
+# Quit on last cancel
+
+You can usually cancel the last state change on escape.
+If you want the escape key to quit broot when there's nothing to cancel (for example when you just opened broot), you can set `quit_on_last_cancel` to true.
+this parameter
+
+```Hjson
+quit_on_last_cancel: true
+```
+```TOML
+quit_on_last_cancel = true
+```
+
# Selection Mark
When the background colors aren't rendered in your terminal, aren't visible enough, or just aren't clear enough for you, you may have the selected lines marked with triangles with