3 ms·
It'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 ope
by dystroy 7y ago
It'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