sfm

simple file manager
git clone git://git.afify.dev/sfm
Log | Files | Refs | README | LICENSE

sfm.1 (1809B)


      1 .TH sfm 1 sfm\-VERSION
      2 .SH NAME
      3 sfm \- simple file manager
      4 .SH SYNOPSIS
      5 .B sfm
      6 .RB [ \-v ]
      7 .SH DESCRIPTION
      8 sfm is a simple file manager for unix-like systems based on termbox.
      9 dual panes, bottom statusbar, bookmarks, open files by extention, vim-like key bindings as default configuration. cwd is left pane dir.
     10 .P
     11 .SH OPTIONS
     12 .TP
     13 .B \-v
     14 print version.
     15 .SH USAGE
     16 .SS Normal Mode
     17 .TP
     18 .B q
     19 quit
     20 .TP
     21 .B h
     22 back
     23 .TP
     24 .B j
     25 down
     26 .TP
     27 .B k
     28 up
     29 .TP
     30 .B l
     31 open dir | file
     32 .TP
     33 .B g
     34 top
     35 .TP
     36 .B G
     37 bottom
     38 .TP
     39 .B ctrl+u
     40 scroll up
     41 .TP
     42 .B ctrl+d
     43 scroll down
     44 .TP
     45 .B n
     46 create new file if not exists
     47 .TP
     48 .B N
     49 create new directory if not exists
     50 .TP
     51 .B d
     52 delete file | directory recursively
     53 .TP
     54 .B D
     55 duplicate file | directory recursively
     56 .TP
     57 .B y
     58 yank
     59 .TP
     60 .B p
     61 paste
     62 .TP
     63 .B P
     64 move
     65 .TP
     66 .B b
     67 spawn a shell in the current directory
     68 .TP
     69 .B c
     70 start change
     71 .TP
     72 .B cw
     73 rename
     74 .TP
     75 .B co
     76 change owner and group (chown)
     77 .TP
     78 .B cm
     79 change mode (chmod)
     80 .TP
     81 .B cf
     82 change flags (chflags | chattr)
     83 .TP
     84 .B cc
     85 exit change
     86 .TP
     87 .B cq
     88 exit change
     89 .TP
     90 .B .
     91 toggle dotfiles
     92 .TP
     93 .B v
     94 start visual mode
     95 .TP
     96 .B /
     97 start filter
     98 .TP
     99 .B ENTER
    100 find filter
    101 .TP
    102 .B ESC
    103 exit filter
    104 .TP
    105 .B SPACE
    106 switch pane
    107 .TP
    108 .B ctrl+r
    109 refresh panes
    110 .SS Visual Mode
    111 .TP
    112 .B j
    113 select down
    114 .TP
    115 .B k
    116 select up
    117 .TP
    118 .B d
    119 delete selection
    120 .TP
    121 .B v
    122 exit visual mode
    123 .TP
    124 .B q
    125 exit visual mode
    126 .TP
    127 .B ESC
    128 exit visual mode | change
    129 .SH CUSTOMIZATION
    130 sfm is customized by creating a custom
    131 .IR config.h
    132 and (re)compiling the source
    133 code. This keeps it fast, secure and simple.
    134 .SH ENVIRONMENT
    135 .TP
    136 .B EDITOR
    137 open unconfigured file extention. vi(1) if not set.
    138 .TP
    139 .B HOME
    140 right pane default directory. / if not set.
    141 .TP
    142 .B SHELL
    143 shell spawned with the 'b' key. /bin/sh if not set.
    144 .SH AUTHORS
    145 See the LICENSE file for the authors.
    146 .SH LICENSE
    147 See the LICENSE file for the terms of redistribution.