Feature request: Separate hidden file shortkeys
Georacer opened this issue · 4 comments
I'd like to add file_browser plugin to the rest of the modi of my regular rofi launch command.
But as soon as I get to this modi, it captures shift+left/right
to show/hide hidden files and can't navigate to other modi anymore.
Could a separate shortkey for hidden files be added (e.g. shift+up/down
)?
Hi, thanks for the suggestion.
Unfortunately I can only use keybindings defined by rofi (which is why I was using the mode-switch keybindings). I'll change it to Alt+1
, which is one of the keybindings that rofi defines for custom actions.
EDIT: Nevermind, Alt+1
is also used for mode-switching, although rofi -show keys
says it's for custom actions. I could change it to Alt+0
and hope no one will use it with 10 active modes. Any other ideas?
Some other options:
- Use
Ctrl+Enter
to toggle hidden files, but this only works the input field is empty - Use
Shift+Right
to enable hidden files, but switch to the next mode if hidden files are already enabled (and the other way around forShift+Left
)
I think the most sensible way is to implement both, use (1) as default, and add a command line option to use (2).
I like the new API. I disabled hidden files by default and toggling them with ctrl+space
is straightforward.