# HG changeset patch # User Ludovic Chabant # Date 1554793902 25200 # Node ID eb8891b1a6f5a8ff01bb5dbcb2d26a27f8e3e9cc # Parent 10acde38fcee319e44306541e9ca5df7a3f5aa7d Clone FZF and source its Vim plugin directly, use official hggit repo. diff -r 10acde38fcee -r eb8891b1a6f5 install.cfg --- a/install.cfg Tue Apr 09 00:04:37 2019 -0700 +++ b/install.cfg Tue Apr 09 00:11:42 2019 -0700 @@ -1,9 +1,11 @@ [subrepos] lib/fish/virtualfish = [git]https://github.com/adambrenecki/virtualfish.git +lib/fzf = [git]https://github.com/junegunn/fzf.git + lib/hg/allpaths = https://bitbucket.org/ludovicchabant/allpaths lib/hg/fast-hg-prompt = https://bitbucket.org/ludovicchabant/fast-hg-prompt -lib/hg/hg-git = https://bitbucket.org/ludovicchabant/hg-git +lib/hg/hg-git = https://bitbucket.org/durin42/hg-git lib/hg/hg-git-sync = https://bitbucket.org/ludovicchabant/hg-git-sync lib/hg/hg-prompt = https://bitbucket.org/sjl/hg-prompt lib/hg/mercurial-cli-templates = https://bitbucket.org/sjl/mercurial-cli-templates diff -r 10acde38fcee -r eb8891b1a6f5 vim/vimrc --- a/vim/vimrc Tue Apr 09 00:04:37 2019 -0700 +++ b/vim/vimrc Tue Apr 09 00:11:42 2019 -0700 @@ -298,11 +298,12 @@ " FZF {{{ -if ludo#platform() == 'mac' - if filereadable('/usr/local/opt/fzf/plugin/fzf.vim') - " FZF installed via Homebrew. - source /usr/local/opt/fzf/plugin/fzf.vim - endif +" Load FZF Vim plugin from our sub-repo. +let s:local_fzfplugin = ludo#localpath('../lib/fzf/plugin/fzf.vim') +if filereadable(s:local_fzfplugin) + execute 'source' s:local_fzfplugin +else + call ludo#error("Can't find FZF at: ".s:local_fzfplugin) endif let g:fzf_action = {