summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Wilson <ryan@rdwilson.xyz>2021-03-29 22:32:42 -0300
committerGitHub <noreply@github.com>2021-03-29 21:32:42 -0400
commit622252cd3778b48ecb1bcebde4ecff86118f9e8b (patch)
tree64b37265f0b762e3c50ed6c9ab2e5d44767beb0d
parent12d6d5ec80fd0dc9f113f6b91a3373857fcac014 (diff)
downloadeibhear-622252cd3778b48ecb1bcebde4ecff86118f9e8b.tar.gz
eibhear-622252cd3778b48ecb1bcebde4ecff86118f9e8b.tar.zst
eibhear-622252cd3778b48ecb1bcebde4ecff86118f9e8b.zip
Extract, Set Hidden shortcuts (#910)
-rw-r--r--.config/lf/lfrc11
1 files changed, 11 insertions, 0 deletions
diff --git a/.config/lf/lfrc b/.config/lf/lfrc
index c571724..b05d511 100644
--- a/.config/lf/lfrc
+++ b/.config/lf/lfrc
@@ -29,6 +29,15 @@ cmd open ${{
cmd mkdir $mkdir -p "$(echo $* | tr ' ' '\ ')"
+cmd extract ${{
+ clear; tput cup $(($(tput lines)/3)); tput bold
+ set -f
+ printf "%s\n\t" "$fx"
+ printf "extract?[y/N]"
+ read ans
+ [ $ans = "y" ] && ext $fx
+}}
+
cmd delete ${{
clear; tput cup $(($(tput lines)/3)); tput bold
set -f
@@ -69,10 +78,12 @@ map J $lf -remote "send $id cd $(cut -d' ' -f2 ${XDG_CONFIG_HOME:-$HOME/.config}
map gh
map g top
map D delete
+map E extract
map C copyto
map M moveto
map <c-n> push :mkdir<space>
map <c-r> reload
+map <c-s> set hidden!
map <enter> shell
map x $$f
map X !$f