feat: Toggle showing hidden items
`ctrl` + `h` toggles the visibility of hidden files and folders per tab. The per tab option overrides the global option. So, a user may set hidden items to be visible by default (global option) but override it per tab with `ctrl` + `h`. Currently, per tab options aren't presented anywhere in the UI such as a menu, so the hotkey is the only way to use this feature for now.
This commit is contained in:
parent
073a9a95ab
commit
bc5b46d552
4 changed files with 15 additions and 8 deletions
|
|
@ -71,6 +71,7 @@ pub fn key_binds() -> HashMap<KeyBind, Action> {
|
|||
bind!([Ctrl], Key::Character("t".into()), TabNew);
|
||||
bind!([Ctrl], Key::Named(Named::Tab), TabNext);
|
||||
bind!([Ctrl, Shift], Key::Named(Named::Tab), TabPrev);
|
||||
bind!([Ctrl], Key::Character("h".into()), ToggleShowHidden);
|
||||
bind!([Ctrl], Key::Character("q".into()), WindowClose);
|
||||
bind!([Ctrl], Key::Character("n".into()), WindowNew);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue