init
This commit is contained in:
18
lf/lfrc
Normal file
18
lf/lfrc
Normal file
@ -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
|
||||
}}
|
||||
Reference in New Issue
Block a user