summaryrefslogtreecommitdiffstats
path: root/src/help.rs
blob: c03b086ed3b6343200a1b0ba6667625aa020d94c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/// Help message to be displayed when help key is pressed.
/// Default help key is `'h'`.
pub static HELP_LINES: &str = "
Default key bindings:

q:      quit
h:      help

- Navigation -
←:      cd to parent directory 
→:      cd to child directory
↑:      one line up  
↓:      one line down
Home:   go to first line
End:    go to last line
PgUp:   10 lines up
PgDown: 10 lines down

a:      toggle hidden
s:      shell in current directory
o:      xdg-open this file

- Action on flagged files - 
    space:  toggle flag on a file 
    *:      flag all
    u:      clear flags
    v:      reverse flags
    c:      copy to current dir
    p:      move to current dir
    x:      delete flagged files
    S:      symlink flagged files

- MODES - 
    m:      CHMOD 
    e:      EXEC 
    d:      NEWDIR 
    n:      NEWFILE
    r:      RENAME
    g:      GOTO
    w:      REGEXMATCH
    j:      JUMP
    O:      SORT
    Enter:  Execute mode then NORMAL
    Esc:    NORMAL
";