Skip to content

Commit

Permalink
fzf: install fzf.vim to Neovim plugin directory
Browse files Browse the repository at this point in the history
For Vim users, FZF works out of the box, but Neovim users have to
manually copy /usr/share/vim/vimfiles/plugin/fzf.vim to the proper
Neovim equivalent.
  • Loading branch information
gbrlsnchs committed Sep 21, 2020
1 parent e5bc70d commit bd246e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion srcpkgs/fzf/template
@@ -1,7 +1,7 @@
# Template file for 'fzf'
pkgname=fzf
version=0.22.0
revision=1
revision=2
build_style=go
go_import_path=github.com/junegunn/fzf
hostmakedepends="git"
Expand All @@ -22,6 +22,7 @@ post_install() {

sed -i -e 's#source ~/\.fzf\.bash; ##' shell/key-bindings.bash
vinstall plugin/fzf.vim 644 usr/share/vim/vimfiles/plugin
vinstall plugin/fzf.vim 644 usr/share/nvim/runtime/plugin
vinstall shell/completion.bash 644 usr/share/bash-completion/completions fzf
vinstall shell/completion.zsh 644 usr/share/doc/fzf
vinstall shell/key-bindings.zsh 644 usr/share/doc/fzf
Expand Down

0 comments on commit bd246e8

Please sign in to comment.