From 9b9ad3914380dccefa9280805522d3ee37638bb6 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Tue, 18 Oct 2016 15:00:47 +0900 Subject: [PATCH] [vim] Set g:loaded_fzf --- plugin/fzf.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugin/fzf.vim b/plugin/fzf.vim index 42dbcda..36a1480 100644 --- a/plugin/fzf.vim +++ b/plugin/fzf.vim @@ -21,6 +21,11 @@ " OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION " WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +if exists('g:loaded_fzf') + finish +endif +let g:loaded_fzf = 1 + let s:default_layout = { 'down': '~40%' } let s:layout_keys = ['window', 'up', 'down', 'left', 'right'] let s:fzf_go = expand(':h:h').'/bin/fzf'