u
This commit is contained in:
34
dots/lf/lfrc
34
dots/lf/lfrc
@@ -28,15 +28,7 @@ set cursorpreviewfmt "\033[7;2m"
|
|||||||
|
|
||||||
# ctpv
|
# ctpv
|
||||||
# https://github.com/NikitaIvanovV/ctpv
|
# https://github.com/NikitaIvanovV/ctpv
|
||||||
#set sixel true
|
|
||||||
set preview true
|
set preview true
|
||||||
|
|
||||||
#set previewer lf_kitty_preview.sh
|
|
||||||
#set cleaner lf_kitty_clean.sh
|
|
||||||
|
|
||||||
|
|
||||||
#set previewer imgPreviewer.sh
|
|
||||||
|
|
||||||
set previewer ctpv
|
set previewer ctpv
|
||||||
set cleaner ctpvclear
|
set cleaner ctpvclear
|
||||||
&ctpv -s $id
|
&ctpv -s $id
|
||||||
@@ -45,19 +37,22 @@ set cleaner ctpvclear
|
|||||||
# --------------------
|
# --------------------
|
||||||
# map
|
# map
|
||||||
# --------------------
|
# --------------------
|
||||||
|
|
||||||
map <delete> trash-confirm # use '<delete>' key for 'trash'
|
map <delete> trash-confirm # use '<delete>' key for 'trash'
|
||||||
map <c-delete> trash # control + delete - for no confirm - you have control
|
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 <esc> :unselect; clear # clear all selected
|
||||||
map ` !true # show the result of execution of previous commands
|
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 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 b multi-dragon
|
||||||
map e edit
|
map e edit # see edit command below
|
||||||
map o &xdg-open $f # dedicated keys for file opener actions
|
#map o &xdg-open $f # dedicated keys for file opener actions
|
||||||
map <a-r> recol
|
map o open
|
||||||
map w :push %touch<space> # write (create) new file
|
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
|
# cmd
|
||||||
@@ -166,28 +161,19 @@ cmd multi-dragon %lfMultiSelectHandler.sh "dragon-drop --and-exit" "$fx"
|
|||||||
cmd md :multi-dragon
|
cmd md :multi-dragon
|
||||||
|
|
||||||
# change dir
|
# change dir
|
||||||
cmd cda :cd /home/poq/syncDir/antijantepodden
|
|
||||||
cmd cdd :cd /home/poq/syncDir/0_downloads
|
cmd cdd :cd /home/poq/syncDir/0_downloads
|
||||||
cmd cdg :cd /home/poq/syncDir/gitRepos
|
cmd cdg :cd /home/poq/syncDir/gitRepos
|
||||||
cmd cdh :cd /home/poq
|
cmd cdh :cd /home/poq
|
||||||
cmd cdi :cd /home/poq/syncDir/0_inProgress
|
cmd cdi :cd /home/poq/syncDir/0_inProgress
|
||||||
cmd cdm :cd /home/poq/mega
|
|
||||||
cmd cdn :cd /mnt/nas
|
cmd cdn :cd /mnt/nas
|
||||||
cmd cdp :cd /home/poq/pCloudDrive
|
cmd cdp :cd /home/poq/pCloudDrive
|
||||||
|
cmd cdq :cm /home/poq/syncDir/gitRepos/gi.op.fo/quick
|
||||||
cmd cds :cd /home/poq/syncDir
|
cmd cds :cd /home/poq/syncDir
|
||||||
|
|
||||||
# yanks
|
# 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-dirname ${{ dirname "$f" | wl-copy -n }}
|
||||||
cmd yank-path ${{ realpath "$f" | wl-copy -n }}
|
cmd yank-path ${{ realpath "$f" | wl-copy -n }}
|
||||||
cmd yank-filename ${{ basename "$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
|
# misc
|
||||||
cmd edit $nano "$fx"
|
cmd edit $nano "$fx"
|
||||||
|
|||||||
Reference in New Issue
Block a user