Fix FZF on Debian

May just start to source these directly especially since that's the only
thing that I do that's reliant on the runtime path.
This commit is contained in:
Josh Sherman 2022-09-06 11:52:56 -05:00
parent 678395dcdb
commit d248894481
No known key found for this signature in database
GPG key ID: 55B058A80530EF22

View file

@ -43,8 +43,10 @@ autocmd FileType markdown,text setl tw=80 wm=2
autocmd BufWritePre * :%s/\s\+$//e
set rtp+=~/.fzf
" TODO: Make this configurable to handle multiple OSes
set rtp+=/usr/local/opt/fzf
" set rtp+=/opt/homebrew/opt/fzf
" Arch Linux: set rtp+=~/.fzf
" Thought this was Debian: set rtp+=/usr/local/opt/fzf
" This is Debian: source /usr/share/doc/fzf/examples/fzf.vim
" This works for Debian too:
set rtp+=/usr/share/doc/fzf/examples
" macOS: set rtp+=/opt/homebrew/opt/fzf