Improve lf configuration

This commit is contained in:
Yax 2026-05-02 17:36:42 +02:00
parent 22092f7786
commit 1a55875e1a
3 changed files with 391 additions and 27 deletions

View file

@ -23,18 +23,13 @@ set scrolloff 10
# Use the `dim` attribute instead of underline for the cursor in the preview pane
set cursorpreviewfmt "\033[7;2m"
# use enter for shell commands
map <enter> shell
# show the result of execution of previous commands
map ` !true
# mkdir command. See wiki if you want it to select created dir
map a :push %mkdir<space>""<c-b>
# use '<delete>' key for 'delete' command
map <delete> delete
set icons true
set drawbox true
set info size
set dircounts
@ -46,6 +41,5 @@ map i $~/.config/lf/scopelf.sh $f | less -R
# use S for opening a shell
map S $zsh
# clear mark from files after pasting
map p : paste; clear
# toggle hidden files display
map . set hidden!