This commit is contained in:
committer@tuxwarrior
2026-03-02 07:59:32 -05:00
parent be620288bd
commit 4b11058c0b

View File

@@ -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 <delete> trash-confirm # use '<delete>' key for 'trash'
map <c-delete> trash # control + delete - for no confirm - you have control
map <enter> shell # use enter for shell commands
map <esc> :unselect; clear # clear all selected
map ` !true # show the result of execution of previous commands
map a :push %mkdir<space> # 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<space>) | 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 <a-r> 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<space> # write (create) new file
map x $$f # execute current file (must be executable)
map X !$f
#map <enter> shell # use enter for shell commands
#map <a-r> 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"