summaryrefslogtreecommitdiffstats
path: root/website/docs
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2022-05-04 20:40:46 +0200
committerCanop <cano.petrole@gmail.com>2022-05-04 20:40:46 +0200
commitc76be097397df82ed62582546ef76bbbf5203819 (patch)
tree6cd7b03037e30b649a4e3be41d5ca5fe6935ca1f /website/docs
parente737f692ffaa4808813b37c6c51b06e6195cb875 (diff)
add the :stage_all_files internal
Default mapping: ctrl-a
Diffstat (limited to 'website/docs')
-rw-r--r--website/docs/conf_file.md65
-rw-r--r--website/docs/conf_verbs.md1
2 files changed, 40 insertions, 26 deletions
diff --git a/website/docs/conf_file.md b/website/docs/conf_file.md
index 1a785fb..f62ead5 100644
--- a/website/docs/conf_file.md
+++ b/website/docs/conf_file.md
@@ -12,7 +12,7 @@ This documentation will often show you the same setting in both formats, with tw
# setting to use if your config file is in .toml
```
-# Opening the configuration file
+# Opening the config file
The main configuration file is called either `conf.toml` or `conf.hjson`.
@@ -44,17 +44,6 @@ Those flags can still be overridden at launch with the negating ones. For exampl
br -H
-# Mouse Capture
-
-Broot usually captures the mouse so that you can click or double click on items. If you want to disable this capture, you may add this:
-
-```Hjson
-capture_mouse: false
-```
-```TOML
-capture_mouse = false
-```
-
# Special Paths
You may map special paths to specific behaviors. You may especially want
@@ -103,19 +92,6 @@ The search mode must be made of two parts :
* the search kind: Either `exact`, `fuzzy`, `regex`, or `tokens`
* the search object: Either `name`, `path`, or `content`
-# 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
@@ -212,7 +188,30 @@ syntax_theme = "base16-ocean.light"
Those themes come from [syntect](https://github.com/trishume/syntect) and are bundled in broot.
-# Number of threads for directory size computation
+# Miscelaneous
+
+
+## Maximal number of files added by a :stage_all_files command
+
+```Hjson
+max_staged_count: 1234
+```
+```TOML
+max_staged_count = 1234
+```
+
+## Mouse Capture
+
+Broot usually captures the mouse so that you can click or double click on items. If you want to disable this capture, you may add this:
+
+```Hjson
+capture_mouse: false
+```
+```TOML
+capture_mouse = false
+```
+
+## Number of threads for directory size computation
Most users should not change this. In my measurements a number of 4 to 6 looks optimal.
@@ -225,4 +224,18 @@ file_sum_threads_count: 10,
file_sum_threads_count = 10
```
+
If you make experiments, please come to [Miaou](https://miaou.dystroy.org/3490) and tell me.
+
+## 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
+```
diff --git a/website/docs/conf_verbs.md b/website/docs/conf_verbs.md
index 926bdf8..b6d6f96 100644
--- a/website/docs/conf_verbs.md
+++ b/website/docs/conf_verbs.md
@@ -390,6 +390,7 @@ invocation | default key | default shortcut | behavior / details
:sort_by_type_dirs_first | - | - | sort by type, dirs first
:sort_by_type_dirs_last | - | - | sort by type, dirs last
:stage | <kbd>+</kbd> | - | add selection to staging area
+:stage_all_files | <kbd>ctrl</kbd><kbd>a</kbd> | - | add all files verifying the pattern to the staging area
:toggle_counts | - | - | toggle display of total counts of files per directory
:toggle_dates | - | - | toggle display of last modified dates (looking for the most recently changed file, even deep)
:toggle_device_id | - | - | toggle display of device id (unix only)