diff --git a/dots/lf/lfrc b/dots/lf/lfrc index 74ae46b..c700688 100644 --- a/dots/lf/lfrc +++ b/dots/lf/lfrc @@ -26,19 +26,31 @@ set scrolloff 10 # Use the `dim` attribute instead of underline for the cursor in the preview pane set cursorpreviewfmt "\033[7;2m" +# ctpv +# https://github.com/NikitaIvanovV/ctpv +set previewer ctpv +set cleaner ctpvclear +&ctpv -s $id +&ctpvquit $id + # -------------------- # map # -------------------- -map trash # use '' key for 'trash' -map shell # use enter for shell commands -map ` !true # show the result of execution of previous commands -map a :push %mkdir # mkdir command. See wiki if you want it to select created dir +map trash # use '' key for 'trash' +map shell # use enter for shell commands +map ` !true # show the result of execution of previous commands +map a :push %mkdir # mkdir command. See wiki if you want it to select created dir map b dragon -map o &mimeopen $f # dedicated keys for file opener actions +map o &mimeopen $f # dedicated keys for file opener actions map O $mimeopen --ask $f -map x $$f # execute current file (must be executable) +map x $$f # execute current file (must be executable) map X !$f +cmd cda :cd /home/poq/syncDir/antijantepodden # change dir +cmd cdd :cd /home/poq/syncDir/0_downloads +cmd cdg :cd /home/poq/syncDir/gitRepos +cmd cdh :cd /home/poq +cmd cds :cd /home/poq/syncDir # -------------------- # cmd @@ -97,21 +109,7 @@ cmd zip ''${{ rm -rf $1 }} -# ctpv -# https://github.com/NikitaIvanovV/ctpv -set previewer ctpv -set cleaner ctpvclear -&ctpv -s $id -&ctpvquit $id - # dragon cmd dragon %dragon-drop --all --and-exit "$fx" cmd dragon-stay %dragon-drop --all "$fx" cmd dragon-individual %dragon-drop "$fx" - -# change dir -cmd cda :cd /home/poq/syncDir/antijantepodden -cmd cdd :cd /home/poq/syncDir/0_downloads -cmd cdg :cd /home/poq/syncDir/gitRepos -cmd cdh :cd /home/poq -cmd cds :cd /home/poq/syncDir