diff --git a/plugin/fzf.vim b/plugin/fzf.vim index 83e1cef..7dc677f 100644 --- a/plugin/fzf.vim +++ b/plugin/fzf.vim @@ -404,7 +404,7 @@ try let prefix = '( '.source.' )|' elseif type == 3 let temps.input = s:fzf_tempname() - call writefile(map(source, 'enc_to_cp(v:val)'), temps.input) + call writefile(source, temps.input) let prefix = (s:is_win ? 'type ' : 'cat ').fzf#shellescape(temps.input).'|' else throw 'Invalid source type'