diff options
| author | pants <niklasjo2004@gmail.com> | 2026-09-21 14:16:02 -0700 |
|---|---|---|
| committer | pants <niklasjo2004@gmail.com> | 2026-09-21 14:16:02 -0700 |
| commit | 40f81d08239763c2b5c05af63f17e3fd098d978d (patch) | |
| tree | b4475da076490a5fadc69904ad26bcf4ac46b9fc /lf | |
init
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 +}} |
