summaryrefslogtreecommitdiffstats
path: root/website/docs/index.md
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2021-04-25 09:26:57 +0200
committerCanop <cano.petrole@gmail.com>2021-04-25 09:26:57 +0200
commit7c7767c20061427b884ed267c9ec5a8d2eca29fa (patch)
tree181f87cedee8ac2442cc92523482c2397d154f09 /website/docs/index.md
parent6f6fe9edf52cf45373150a335e31216ee64b4d64 (diff)
staging area documentation
Diffstat (limited to 'website/docs/index.md')
-rw-r--r--website/docs/index.md13
1 files changed, 9 insertions, 4 deletions
diff --git a/website/docs/index.md b/website/docs/index.md
index 3337b0f..e5cdc22 100644
--- a/website/docs/index.md
+++ b/website/docs/index.md
@@ -1,5 +1,4 @@
-
<p align=center style="max-width:600px">
<img src="img/vache.svg" height=140px>
<br><a class=install-link href=install>Install Broot</a>
@@ -28,7 +27,7 @@ Hit <kbd>alt</kbd><kbd>enter</kbd> and you're back to the terminal in the desire
This way, you can navigate to a directory with the minimum amount of keystrokes, even if you don't exactly remember where it is.
-broot is fast and doesn't block (any keystroke interrupts the current search to start the next one).
+Broot is fast and doesn't block (any keystroke interrupts the current search to start the next one).
Most useful keys for this:
@@ -44,7 +43,7 @@ Most useful keys for this:
![search](img/20210424-mycnf.png)
-broot tries to select the most relevant file. You can still go from one match to another one using <kbd>tab</kbd> or arrow keys.
+Broot tries to select the most relevant file. You can still go from one match to another one using <kbd>tab</kbd> or arrow keys.
You may also search with a regular expression. To do this, add a `/` before the pattern.
@@ -115,11 +114,17 @@ You can add verbs or configure the existing ones; see [documentation](../conf_fi
And you can add shortcuts, for example a <kbd>ctrl</kbd> sequence or a function key
+# Apply commands on several files
+
+Add files to the [staging area](../staging-area) then execute any command on all of them.
+
+![staging mv](img/20210424-staging-mv.png)
+
# Replace `ls` (and its clones):
If you want to display *sizes*, *dates* and *permissions*, do `br -sdp` which gets you this:
-![replace ls](img/20201130-sdp.png)
+![replace ls](img/20210425-sdp.png)
You may also toggle options with a few keystrokes while inside broot. For example hitting a space, a `d` then enter shows you the dates. Or a space, then `h` then enter and you see hidden files.