-
Notifications
You must be signed in to change notification settings - Fork 2
Modalities
Federico edited this page Jun 26, 2016
·
3 revisions
NcursesFM does its job through the help of modalities.
By pressing certain buttons, user (if in normal mode) will switch modality.
Each modality has its own set of keybinding. I made helper win context aware, ie: it will only show useful keys for the current active tab modality.
- normal mode: the first mode you're in when you launch ncursesFM: it will show the list of files for current folder and will let you create new file/dir/copy/paste/extract etc etc. This is the only starting modality whence you can switch to other modalities.
- fast browse mode: pressing ',' in normal mode, will switch current tab to fast browse mode. Then you can move to your desired files by just typing their name.
- bookmarks mode: pressing 'g' will move you to bookmarks tab. Here you can review/move to/remove your bookmarked files/directories.
- search mode: after a search is finished, pressing 'f' will move you to search mode. Here you will be presented with the list of files found. You can move to a file/dir pressing enter.
- device mode: pressing 'm' will move you to device mode. Here you can mount/unmount devices, or move directly to their mountpoints.
- selected mode: pressing 'k' will move you to selected mode. Here you can review/move to/remove the list of selected files.
Some keys are shared between every mode:
- PG_UP/DOWN -> jump straight to first/last file.
- ESC -> leave current mode. If mode is normal, it will leave ncursesFM.
- s -> see files/devices stats/info.
- i -> check files fullnames; useful in case current filename is too long to be fully displayed.
- enter -> will always trigger a move to file/change directory.
Note that in fast browse mode every alphabetical key is disabled ('s', 'i') because they're used to search for filenames.