diff options
Diffstat (limited to 'lf')
| -rw-r--r-- | lf/lfrc | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -0,0 +1,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 +}} |
