diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2016-06-03 12:09:31 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2016-06-03 12:09:31 +0900 |
commit | 1c86aaf342120700c169683dd538a6d15b184369 (patch) | |
tree | 328f7ea81a4c61d44ac2416adafbf7d2ee1918e3 /plugin | |
parent | cfc0b18eaa2914717d143cdb110af784283a1462 (diff) |
[vim/fzf-tmux] Handle fzf project directory with spaces
Close #583
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/fzf.vim | 4 |
1 files changed, 2 insertions, 2 deletions
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) |