mirror of
https://github.com/foo-dogsquared/dotfiles.git
synced 2025-01-31 04:57:57 +00:00
lf: remove config
Also not using it unless deployed with home-manager.
This commit is contained in:
parent
79a0056193
commit
f63a632cb9
49
lf/lfrc
49
lf/lfrc
@ -1,49 +0,0 @@
|
|||||||
set shell sh
|
|
||||||
set shellopts '-eu'
|
|
||||||
set ifs "\n"
|
|
||||||
set drawbox true
|
|
||||||
set hidden
|
|
||||||
|
|
||||||
set color256
|
|
||||||
set timefmt "2006-01-02 15:04:05"
|
|
||||||
set dircounts
|
|
||||||
set scrolloff 10
|
|
||||||
|
|
||||||
set wrapscroll true
|
|
||||||
|
|
||||||
# interactive delete command with a prompt since it is easy to delete them
|
|
||||||
cmd delete ${{
|
|
||||||
set -f
|
|
||||||
printf "$fx\n"
|
|
||||||
printf "delete?[y/n]"
|
|
||||||
read ans
|
|
||||||
[ $ans = "y" ] && rm -rf $fx
|
|
||||||
}}
|
|
||||||
|
|
||||||
# compress current file or selected files with tar and gunzip
|
|
||||||
cmd tar ${{
|
|
||||||
set -f
|
|
||||||
mkdir $1
|
|
||||||
cp -r $fx $1
|
|
||||||
tar czf $1.tar.gz $1
|
|
||||||
rm -rf $1
|
|
||||||
}}
|
|
||||||
|
|
||||||
# compress current file or selected files with zip
|
|
||||||
cmd zip ${{
|
|
||||||
set -f
|
|
||||||
mkdir $1
|
|
||||||
cp -r $fx $1
|
|
||||||
zip -r $1.zip $1
|
|
||||||
rm -rf $1
|
|
||||||
}}
|
|
||||||
|
|
||||||
map D delete
|
|
||||||
map T tar
|
|
||||||
map <enter> shell
|
|
||||||
map gr cd /
|
|
||||||
map x $$f
|
|
||||||
map X !$f
|
|
||||||
|
|
||||||
cmap <tab> cmd-menu-complete
|
|
||||||
cmap <backtab> cmd-menu-complete-back
|
|
Loading…
Reference in New Issue
Block a user