From 9ec3f0387175c6993841c69a230414f8fef00e51 Mon Sep 17 00:00:00 2001 From: Nikita Kouevda Date: Sat, 12 Aug 2023 07:29:00 -0700 Subject: [PATCH] doc: Add different prefix for Homebrew on Apple Silicon (#3396) Follow-up to d42e708d3140aab099b30014a9cbebafb8b66692. Fixes #3095. --- README-VIM.md | 3 +++ doc/fzf.txt | 8 +++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/README-VIM.md b/README-VIM.md index a396b611..f3247bac 100644 --- a/README-VIM.md +++ b/README-VIM.md @@ -26,6 +26,9 @@ written as: " If installed using Homebrew Plug '/usr/local/opt/fzf' +" If installed using Homebrew on Apple Silicon +Plug '/opt/homebrew/opt/fzf' + " If you have cloned fzf on ~/.fzf directory Plug '~/.fzf' ``` diff --git a/doc/fzf.txt b/doc/fzf.txt index 62295393..6acea330 100644 --- a/doc/fzf.txt +++ b/doc/fzf.txt @@ -1,4 +1,4 @@ -fzf.txt fzf Last change: Mar 20 2023 +fzf.txt fzf Last change: Aug 12 2023 FZF - TABLE OF CONTENTS *fzf* *fzf-toc* ============================================================================== @@ -32,6 +32,9 @@ depending on the package manager. " If installed using Homebrew set rtp+=/usr/local/opt/fzf + " If installed using Homebrew on Apple Silicon + set rtp+=/opt/homebrew/opt/fzf + " If you have cloned fzf on ~/.fzf directory set rtp+=~/.fzf < @@ -40,6 +43,9 @@ If you use {vim-plug}{1}, the same can be written as: " If installed using Homebrew Plug '/usr/local/opt/fzf' + " If installed using Homebrew on Apple Silicon + Plug '/opt/homebrew/opt/fzf' + " If you have cloned fzf on ~/.fzf directory Plug '~/.fzf' <