summaryrefslogtreecommitdiffstats
path: root/website/docs
diff options
context:
space:
mode:
authorReilly Wood <26268125+rgwood@users.noreply.github.com>2021-08-01 10:54:54 -0700
committerGitHub <noreply@github.com>2021-08-01 10:54:54 -0700
commitea439905cfed565db002507c01ad70d2850cc139 (patch)
tree10cd02eb9a5028bd6f91e9c4a943ba09c13abf95 /website/docs
parent24622f1db6c07b7ae300ba1971fb5e55c28b4cc5 (diff)
Document alt+enter keybinding fix for Windows Terminal
[As requested[(https://github.com/Canop/broot/issues/50#issuecomment-890290701), I'm documenting how to use the `alt+enter` keyboard shortcut in Windows Terminal (which binds `alt+enter` to "Toggle Fullscreen" by default)
Diffstat (limited to 'website/docs')
-rw-r--r--website/docs/common-problems.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/website/docs/common-problems.md b/website/docs/common-problems.md
index 5fa4553..162b09d 100644
--- a/website/docs/common-problems.md
+++ b/website/docs/common-problems.md
@@ -32,13 +32,19 @@ Another problem is the fact the `br` function doesn't set a proper pane name (yo
# alt-enter (or other shortcut) isn't available
-Most terminals intercept a few keyboard shortcut for their own features.
+Most terminals intercept a few keyboard shortcut for their own features. You may need to remap your terminal's default keyboard shortcuts.
If a shortcut isn't available for broot and you can't or don't want to remap the one of your terminal, the solution is to change the shortcut in broot.
* [specific solution for alt-enter](https://github.com/Canop/broot/issues/86#issuecomment-635974557)
* [general shortcut configuration](../conf_verbs/#keyboard-key)
+[Windows Terminal](https://docs.microsoft.com/en-us/windows/terminal/customize-settings/actions#unbind-keys) binds `alt+enter` to the "toggle fullscreen" command by default. To reclaim `alt+enter` for Broot, [add an 'unbound' entry to the actions array in settings.json](https://docs.microsoft.com/en-us/windows/terminal/customize-settings/actions#unbind-keys):
+
+```json
+{"command": "unbound", "keys": "alt+enter"}
+```
+
# Searching is slow when I mount a slow remote disk
Broot dives into all visible directories to look for the best matches.