Improve lf configuration
This commit is contained in:
parent
22092f7786
commit
1a55875e1a
3 changed files with 391 additions and 27 deletions
|
|
@ -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!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue