From 4b11058c0b2584ec419d67e6372a883046326e25 Mon Sep 17 00:00:00 2001 From: "committer@tuxwarrior" Date: Mon, 2 Mar 2026 07:59:32 -0500 Subject: [PATCH] u --- dots/lf/lfrc | 34 ++++++++++------------------------ 1 file changed, 10 insertions(+), 24 deletions(-) diff --git a/dots/lf/lfrc b/dots/lf/lfrc index 86a8289..87e736a 100644 --- a/dots/lf/lfrc +++ b/dots/lf/lfrc @@ -28,15 +28,7 @@ set cursorpreviewfmt "\033[7;2m" # ctpv # https://github.com/NikitaIvanovV/ctpv -#set sixel true set preview true - -#set previewer lf_kitty_preview.sh -#set cleaner lf_kitty_clean.sh - - -#set previewer imgPreviewer.sh - set previewer ctpv set cleaner ctpvclear &ctpv -s $id @@ -45,19 +37,22 @@ set cleaner ctpvclear # -------------------- # map # -------------------- + map trash-confirm # use '' key for 'trash' map trash # control + delete - for no confirm - you have control -map shell # use enter for shell commands map :unselect; clear # clear all selected 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 | :push is used to keybind these commands to avoid typing (e.g. map a :push %mkdir) | https://github.com/gokcehan/lf/wiki/FAQ map b multi-dragon -map e edit -map o &xdg-open $f # dedicated keys for file opener actions -map recol +map e edit # see edit command below +#map o &xdg-open $f # dedicated keys for file opener actions +map o open map w :push %touch # write (create) new file -map x $$f # execute current file (must be executable) -map X !$f + +#map shell # use enter for shell commands +#map recol +#map x $$f # execute current file (must be executable) +#map X !$f # -------------------- # cmd @@ -166,28 +161,19 @@ cmd multi-dragon %lfMultiSelectHandler.sh "dragon-drop --and-exit" "$fx" cmd md :multi-dragon # 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 cdi :cd /home/poq/syncDir/0_inProgress -cmd cdm :cd /home/poq/mega cmd cdn :cd /mnt/nas cmd cdp :cd /home/poq/pCloudDrive +cmd cdq :cm /home/poq/syncDir/gitRepos/gi.op.fo/quick cmd cds :cd /home/poq/syncDir # yanks -#cmd yank-dirname $dirname -- "$f" | head -c-1 | xclip -i -selection clipboard -#cmd yank-path $printf '%s' "$fx" | xclip -i -selection clipboard -#cmd yank-basename $basename -a -- "$fx" | head -c-1 | xclip -i -selection clipboard - cmd yank-dirname ${{ dirname "$f" | wl-copy -n }} cmd yank-path ${{ realpath "$f" | wl-copy -n }} cmd yank-filename ${{ basename "$f" | wl-copy -n }} -#cmd yd :yank-dirname -#cmd yp :yank-path -#cmd yf :yank-filename - # misc cmd edit $nano "$fx"