Skip to content
Myr

Make fzf.vim separately installable

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent f2d8e7e · Browse files · 1 file+2 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−1 removed

  • other:+2 added−1 removed

1 file+2 added−1 removed

modified:plugin/fzf.vim+2 added-1 removed
25 unmodified lines
26function! s:fzf(args)27 try28 let tf = tempname()29 let prefix = exists('g:fzf_command') ? g:fzf_command.'|' : ''30 let fzf = executable(s:exec) ? s:exec : 'fzf'30 execute "silent !".prefix."/usr/bin/env ruby ".s:exec." ".a:args." > ".tf31 execute "silent !".prefix.fzf." ".a:args." > ".tf32 if !v:shell_error33 let file = join(readfile(tf), '')34 if !empty(file)35 execute 'silent e '.file
10 unmodified lines