dotfiles/.config/lf/lfrc

23 lines
443 B
Plaintext

set icons true
set autoquit true
set mouse true
set number true
set relativenumber true
set cursorpreviewfmt ""
cmd q quit
map <backspace2> quit
map <c-e> half-up
map . set hidden!
map o $nvim -c "lua require(\"oil\").open(\"$PWD\")"
map - $nvim -c "lua require(\"oil\").open(\"$PWD\")"
map <enter> open
cmd jump ${{
res=$(zsh -c "source $HOME/.zshrc && find_global d")
lf -remote "send $id cd \"$res\""
}}
map <c-t> :jump <enter>