[UPDATE][VIM] Use globally installed fzf package

This commit is contained in:
Bruno BELANYI 2020-06-20 18:13:28 +02:00
parent b30bbc0a8f
commit 5c1b7ce9ac
4 changed files with 9 additions and 4 deletions

View file

@ -37,6 +37,7 @@ CLI_DEPENDENCIES := \
aur/zsh-fast-syntax-highlighting-git \ aur/zsh-fast-syntax-highlighting-git \
community/bat \ community/bat \
community/fd \ community/fd \
community/fzf \
community/git-lfs \ community/git-lfs \
community/lesspipe \ community/lesspipe \
community/mosh \ community/mosh \

View file

@ -61,4 +61,7 @@ source ~/.profile
source ~/.bash_prompt source ~/.bash_prompt
# Use fzf for backwards search # Use fzf for backwards search
[ -f ~/.fzf.bash ] && source ~/.fzf.bash source /usr/share/fzf/key-bindings.bash
# Enable fzf completion
source /usr/share/fzf/completion.bash

View file

@ -94,8 +94,6 @@ Plug 'tpope/vim-git'
Plug 'tpope/vim-fugitive' Plug 'tpope/vim-fugitive'
" Show git messages in preview window " Show git messages in preview window
Plug 'rhysd/git-messenger.vim' Plug 'rhysd/git-messenger.vim'
" Fuzzy file finder (installs zfz system-wide)
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
" Pre-written functions for fzf mappings " Pre-written functions for fzf mappings
Plug 'junegunn/fzf.vim' Plug 'junegunn/fzf.vim'
" Rust syntax, folding, compiler etc... " Rust syntax, folding, compiler etc...

View file

@ -112,4 +112,7 @@ source /usr/share/zsh/plugins/fast-syntax-highlighting/fast-syntax-highlighting.
source ~/.zsh_prompt source ~/.zsh_prompt
# Use fzf for backwards search # Use fzf for backwards search
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh source /usr/share/fzf/key-bindings.zsh
# Enable completions for fzf
source /usr/share/fzf/completion.zsh