5 ms·
Is it something I'm not understanding or a bug, but alt-enter does the same thing as plain enter? (macos, zsh, iterm2, fi-locale. Installed through cargo, the e
by scoopr 7y ago
Is it something I'm not understanding or a bug, but alt-enter does the same thing as plain enter? (macos, zsh, iterm2, fi-locale. Installed through cargo, the executable installed the br thing)
- dystroy 7y agoIt's not supposed to do the same thing. alt-enter closes vim: * on a file it opens the file (in the same terminal if possible, depending on the system file opening) * on a directory it does a cd to that directory and comes back to the terminal (if broot was launched with the br command) I'd like Mac users to chime in and answer you now: I can't really test on mac.
- adriang133 7y agoAlt-Enter, or more specifically Option-Enter doesn't work on macOS. It does the same thing as Enter, as pointed out above. Good job btw, Broot looks awesome!
- dystroy 7y agoOK so we'll have to define another shortcut (which should already be doable with simple configuration).
- dancek 7y agoNo need to. The Option key is configurable in terminal software.
- benjaminwai 7y agoHow about a ctrl-g shortcut to cd and exit to the directory on the file/dir highlighted? EDIT: Found https://dystroy.org/broot/documentation/configuration/ https://dystroy.org/broot/documentation/configuration/ and on macOS the config file is located at ~/Library/Preferences/org.dystroy.broot/conf.toml
- pathsjs 7y agoSo, how should one configure Broot to use a different shortcut to cd to a directory? Still not clear to me
- dancek 7y agoMacOS Terminal and iTerm users need to configure their terminal to use the Option key properly. You need Option-Enter to output either Esc+Enter or Meta-Enter. See https://superuser.com/a/496152 https://superuser.com/a/496152 for screenshots.
- deleted 7y ago[deleted]