updated README.txt

This commit is contained in:
emmett1
2026-03-16 00:44:07 +08:00
parent fbc3227515
commit 6f9feaf9b4
+21 -3
View File
@@ -17,6 +17,7 @@ REQUIREMENTS
- Optional: wl-copy / xclip / xsel / pbcopy (for clipboard support) - Optional: wl-copy / xclip / xsel / pbcopy (for clipboard support)
- Optional: mpv, vlc, feh, zathura, etc. (for smart file opening) - Optional: mpv, vlc, feh, zathura, etc. (for smart file opening)
- Optional: readlink (for symlink display) - Optional: readlink (for symlink display)
- Optional: file (for MIME type detection)
INSTALLATION INSTALLATION
@@ -41,9 +42,15 @@ Manual installation:
USAGE USAGE
----- -----
sfm sfm [path]
sfm will opens in the current directory. If no path is given, sfm opens in the current directory.
Examples:
sfm # open in current directory
sfm /mnt/data # open at a specific path
sfm ~ # open home directory
sfm .. # open parent directory
NAVIGATION NAVIGATION
@@ -68,11 +75,23 @@ DISPLAY TOGGLES
--------------- ---------------
. Toggle hidden files (dotfiles) . Toggle hidden files (dotfiles)
T Toggle size/date detail column T Toggle size/date detail column
P Toggle preview pane (right side)
s Cycle sort mode: name -> size -> date s Cycle sort mode: name -> size -> date
i Show file info (permissions, size, date) in status bar i Show file info (permissions, size, date) in status bar
R Refresh current directory listing R Refresh current directory listing
PREVIEW PANE
------------
Press P to toggle the preview pane on the right side of the screen.
The list pane takes the left half, preview takes the right half.
Text files Shows file contents line by line
Directories Shows entry count
Symlinks Shows link target
Binary files Shows file size
FILE OPERATIONS FILE OPERATIONS
--------------- ---------------
r Rename selected entry r Rename selected entry
@@ -164,4 +183,3 @@ DATA FILES
---------- ----------
~/.config/sfm/bookmarks Saved bookmarks (one path per line) ~/.config/sfm/bookmarks Saved bookmarks (one path per line)
~/.local/share/sfm-trash/ Trashed files ~/.local/share/sfm-trash/ Trashed files