kyoheiu / felix

tui file manager with vim-like key mapping
https://kyoheiu.dev/felix/
MIT License
729 stars 26 forks source link

Add show/hide hidden files or dirs option #34

Closed balroggg closed 2 years ago

balroggg commented 2 years ago

Closes https://github.com/kyoheiu/felix/issues/31

kyoheiu commented 2 years ago

I agree that it should be able to show/hide hidden items. However, with this change, they will always be hidden at startup, right? I think it would be better to allow the user to choose whether to hide it first, but I need a few days to decide if it is worth implementing the change in the config (since I want to keep felix simple). Or maybe felix should store the setting in another file.

So, anyway, please wait a while.

balroggg commented 2 years ago

Yes, this pr hides hidden files/directories by default. Same behaviour like nautilus, ranger, vimfm.

kyoheiu commented 2 years ago

Merged. Thanks! Better to keep the state of hide/show after exit, so I'll give it a try. In next release it'll come out.

kyoheiu commented 2 years ago

Release v0.4.0 · kyoheiu/felix

felixg3 commented 1 year ago

Is there a config setting? My installation of felix always reverts to showing hidden files.

kyoheiu commented 1 year ago

No, there is not a config for this. backspace key should toggle showing/hiding hidden items. (prefixed by .) You mean after restarting felix always shows hidden items? Its state is saved in ~/.local/share/felix/.session, so if the setting is always reverted, something is wrong with the session file.