From 1c86aaf342120700c169683dd538a6d15b184369 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Fri, 3 Jun 2016 12:09:31 +0900 Subject: [vim/fzf-tmux] Handle fzf project directory with spaces Close #583 --- plugin/fzf.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugin/fzf.vim') diff --git a/plugin/fzf.vim b/plugin/fzf.vim index 16220bc5..93611818 100644 --- a/plugin/fzf.vim +++ b/plugin/fzf.vim @@ -49,7 +49,7 @@ function! s:fzf_exec() throw 'fzf executable not found' endif endif - return s:exec + return s:shellesc(s:exec) endfunction function! s:tmux_enabled() @@ -179,7 +179,7 @@ function! s:fzf_tmux(dict) endif endfor return printf('LINES=%d COLUMNS=%d %s %s %s --', - \ &lines, &columns, s:fzf_tmux, size, (has_key(a:dict, 'source') ? '' : '-')) + \ &lines, &columns, s:shellesc(s:fzf_tmux), size, (has_key(a:dict, 'source') ? '' : '-')) endfunction function! s:splittable(dict) -- cgit v1.2.3