summaryrefslogtreecommitdiff
path: root/lf/lfrc
blob: 43b23199b32d598f17a11522f3ca411b4c865260 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
set ignorecase true
set info size:time

# bindings
map . set hidden!
map <delete> delete
map S shell
map s calcdirsize
map <enter> $bash
map b $btop

# run shell scripts by pressing l on them
map l ${{
    case $(file --mime-type -b "$f") in
        text/x-shellscript) sh "$f" ;;
        *) lf -remote "send $id open" ;;
    esac
}}