summaryrefslogtreecommitdiffstats
path: root/website/docs
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2022-02-20 08:05:30 +0100
committerCanop <cano.petrole@gmail.com>2022-02-20 08:05:30 +0100
commita4aac491fcbfaa35eabe4a8ce8666895b7ab94d4 (patch)
tree89e6ecf3fc28def542f400f6d9611c15a639a10f /website/docs
parentd2bd55a38c26eb339785c12275ccf1aff68d9b17 (diff)
mention rebinding :panel_left & :panel_right in doc
Fix #510
Diffstat (limited to 'website/docs')
-rw-r--r--website/docs/conf_verbs.md2
-rw-r--r--website/docs/panels.md3
2 files changed, 5 insertions, 0 deletions
diff --git a/website/docs/conf_verbs.md b/website/docs/conf_verbs.md
index 8612e8f..51fe1ce 100644
--- a/website/docs/conf_verbs.md
+++ b/website/docs/conf_verbs.md
@@ -339,6 +339,8 @@ invocation | default key | default shortcut | behavior / details
:open_stay_filter | - | - | focus the directory but keeping the current filtering pattern
:page_down | <kbd>⇟</kbd> | - | scroll one page down
:page_up | <kbd>⇞</kbd> | - | scroll one page up
+:panel_left | <kbd>ctrl</kbd><kbd>←</kbd> | - | move to or open a panel to the left
+:panel_right | <kbd>ctrl</kbd><kbd>→</kbd> | - | move to or open a panel to the right
:parent | - | - | focus the parent directory
:previous_dir | - | - | select the previous directory
:print_path | - | pp | print path and leave broot
diff --git a/website/docs/panels.md b/website/docs/panels.md
index d2ab284..66307fd 100644
--- a/website/docs/panels.md
+++ b/website/docs/panels.md
@@ -18,6 +18,9 @@ The type of open panel depends on the selection:
You may also close the current panel with <kbd>ctrl</kbd><kbd>W</kbd>, which is a shortcut for `:close_panel` (you can [change all bindings](../conf_verbs/#keyboard-key)).
+!!! Note
+ Depending on your system and terminal, the <kbd>ctrl</kbd><kbd>←</kbd> and <kbd>ctrl</kbd><kbd>→</kbd> key bindings might not convenient or not usable. In such a case, you should [rebind](../conf_verbs/#keyboard-key) the `:panel_left` and `:panel_right` internals.
+
# Use a verb to open a panel
Another way to open a panel is to add a bang (`!`) to a verb. It tells broot to show the result in a new panel.