mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-20 09:33:42 -05:00
escape spaces in filenames supplied by ag before passing them to tabe
@@ -157,7 +157,7 @@ command! -nargs=1 AgFZF call fzf#run({
|
||||
|
||||
function! AgHandler(l)
|
||||
let keys = split(a:l,':')
|
||||
execute 'tabe +' . keys[-2] . ' ' . keys[-1]
|
||||
execute 'tabe +' . keys[-2] . ' ' . escape(keys[-1], ' ')
|
||||
endfunction
|
||||
|
||||
function! Arghandler(l)
|
||||
|
||||
Reference in New Issue
Block a user