From d248894481283dcfd7ee87b7bcbcd8e79abc86ed Mon Sep 17 00:00:00 2001 From: Josh Sherman Date: Tue, 6 Sep 2022 11:52:56 -0500 Subject: [PATCH] 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. --- vim/.vimrc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/vim/.vimrc b/vim/.vimrc index f169fd3..680f7c4 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -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