![]() |
![]()
| ![]() |
![]()
NAME
SYNOPSIS
DESCRIPTION
OPTIONSThe following options are available:
KEY BINDINGSPress '?' or 'F1' in Press Alt+'/' in CONFIGURATION
EXTENSION SCRIPTThe extension functions are provided by a POSIX-compliant shell
script named sff-extfunc, which is installed by default in
/usr/libexec/sff/
You can easily customize key bindings for extension functions and plugins, modify existing functions, or add your own functions by editing this file. It is generally not recommended to directly modify the system-wide sff-extfunc. Instead, copy it to the user's config directory and make modifications there. The user's config directory is required for executing extension functions. This directory is either $XDG_CONFIG_HOME/sff or ~/.config/sff, whichever is encountered first. If this directory does not exist, the program will attempt to create it when calling an extension function. During initialization,
TABSThe tab status is displayed in the top-left corner of the screen. Five tab indicators are shown, with the current tab highlighted in reverse video. Tabs 1 through 4 are regular tabs and are indicated by '*' when inactive. When switching to an inactive tab, the new tab will be activated and use the current directory path as its starting path. The fifth tab is a special tab, indicated by '#', dedicated to handling search results. SELECTIONThe names of the selected files are highlighted in reverse video. By default, the file under the cursor is automatically selected. When a file selection operation is performed by the user, the program enters manual selection mode, and the file under the cursor will no longer be automatically selected. Clearing all selections causes the program to exit manual selection mode and return to the default state.
When an extension function is executed, if it sends a request, the absolute paths of the selected files are delivered to the extension function via a FIFO. FILTERSFilters are strings used to dynamically list matching files in the current directory. When a filter is enabled, it appears above the bottom status bar, and the program enters input mode. In this mode, you can perform the following actions:
The filter only applies to the current directory. When navigating away from the current directory, the filter is automatically disabled. QUICK FINDQuick Find is used to quickly locate a file within the current directory. When Quick Find is enabled, it appears above the bottom status bar, and the program enters input mode. In this mode, you can perform the following actions:
Matching is case-insensitive and prioritizes matches at the beginning of filenames. If no filename starts with the search string, it matches filenames containing the string. Upon a match, the cursor jumps to the first matching file. ADVANCED SEARCHAdvanced Search is an extension function based on the find command. It requires two inputs:
After both inputs are provided, the executed command will be:
The search results are sent back to UNDO AND REDO
Undo/redo actions apply across different tabs and even different
RUNNING MODEBrowse Mode:
This can be considered a safe mode. In this mode, extension
functions are disabled, and The program is forced into browse mode and cannot exit this mode until termination under the following conditions:
Sudo Mode:
When
However, all other operations are still performed by the current user. When PLUGINSPlugins are shell scripts used to extend functionality. They are invoked by the extension script, which also sets their keybindings. By default, plugins are installed in /usr/libexec/sff/plugins/ or /usr/local/libexec/sff/plugins/. Detailed information about a plugin should usually be provided as comments at the beginning of the script. To view this information, refer directly to the plugin file. If you wish to modify or add your own plugins, it is recommended to do so in the plugins directory within the user's config directory. For details on the user's config directory, see the EXTENSION SCRIPT section. When the extension script invokes a plugin, it searches for the plugin in the following locations in order and uses the first match found:
ENVIRONMENTEDITOR: The default text editor used in the program. If not set, 'vi' is used. HOME: The home directory used by the program. If not set, '/' is used. AUTHORSShi Yanling <sylphenix@outlook.com> HOMEPAGE
|