mirror of
https://git.korhonen.cc/FunctionalHacker/dotfiles.git
synced 2024-11-04 18:00:20 +00:00
Added preview to FZF CTRL_T
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
This commit is contained in:
parent
6e4b373d0b
commit
f754ae0e4e
@ -20,6 +20,7 @@ export GOPATH=~/.bin/go
|
||||
export FZF_DEFAULT_COMMAND='rg --files --hidden 2>/dev/null'
|
||||
export FZF_COMPLETION_TRIGGER='**'
|
||||
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
|
||||
export FZF_CTRL_T_OPTS='--preview "/usr/bin/cat {} | nvimpager -c "'
|
||||
export FZF_ALT_C_COMMAND='rg --hidden --files --null --sort path 2>/dev/null | xargs -0 dirname | uniq'
|
||||
|
||||
# use lesspipe with less
|
||||
|
Loading…
Reference in New Issue
Block a user