aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.txt24
1 files changed, 21 insertions, 3 deletions
diff --git a/README.txt b/README.txt
index 84a8818..11b1ddb 100644
--- a/README.txt
+++ b/README.txt
@@ -17,6 +17,7 @@ REQUIREMENTS
- Optional: wl-copy / xclip / xsel / pbcopy (for clipboard support)
- Optional: mpv, vlc, feh, zathura, etc. (for smart file opening)
- Optional: readlink (for symlink display)
+- Optional: file (for MIME type detection)
INSTALLATION
@@ -41,9 +42,15 @@ Manual installation:
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
@@ -68,11 +75,23 @@ DISPLAY TOGGLES
---------------
. Toggle hidden files (dotfiles)
T Toggle size/date detail column
+ P Toggle preview pane (right side)
s Cycle sort mode: name -> size -> date
i Show file info (permissions, size, date) in status bar
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
---------------
r Rename selected entry
@@ -164,4 +183,3 @@ DATA FILES
----------
~/.config/sfm/bookmarks Saved bookmarks (one path per line)
~/.local/share/sfm-trash/ Trashed files
-