Update 'fzf' configuration
parent
89f2087c8b
commit
c3840e1edc
15
.bashrc
15
.bashrc
|
@ -33,12 +33,19 @@ export MANWIDTH=120
|
||||||
export EDITOR='vim'
|
export EDITOR='vim'
|
||||||
|
|
||||||
# Fuzzy finder setup
|
# Fuzzy finder setup
|
||||||
source /usr/share/fzf/*.bash
|
|
||||||
source /usr/share/fzf/key-bindings.bash
|
|
||||||
export FZF_COMPLETION_TRIGGER='**'
|
export FZF_COMPLETION_TRIGGER='**'
|
||||||
export FZF_DEFAULT_COMMAND='ag --hidden --ignore .git -t -g ""'
|
export FZF_DEFAULT_COMMAND='ag --hidden --ignore .git -t -g ""'
|
||||||
export FZF_DEFAULT_OPTS='--height 38% --reverse --border --prompt="❭ " --pointer="❭"'
|
export FZF_DEFAULT_OPTS="
|
||||||
export FZF_COMPLETION_OPTS='-x'
|
--pointer="❭"
|
||||||
|
--height 10%
|
||||||
|
--color=fg:-1,bg:-1"
|
||||||
|
export FZF_CTRL_T_COMMAND="${FZF_DEFAULT_COMMAND}"
|
||||||
|
export FZF_CTRL_T_OPTS="--preview='bat {} | head -500'"
|
||||||
|
source /usr/share/fzf/completion.bash
|
||||||
|
source /usr/share/fzf/key-bindings.bash
|
||||||
|
_fzf_setup_completion path vim
|
||||||
|
_fzf_setup_completion path zathura
|
||||||
|
_fzf_setup_completion path xournalpp
|
||||||
|
|
||||||
# Nvm
|
# Nvm
|
||||||
export PATH=~/.nvm/versions/node/v14.16.0/bin:$PATH
|
export PATH=~/.nvm/versions/node/v14.16.0/bin:$PATH
|
||||||
|
|
Loading…
Reference in New Issue