|
|
@ -501,12 +501,12 @@ function! s:dopopd()
|
|
|
|
endfunction
|
|
|
|
endfunction
|
|
|
|
|
|
|
|
|
|
|
|
function! s:xterm_launcher()
|
|
|
|
function! s:xterm_launcher()
|
|
|
|
let fmt = 'xterm -T "[fzf]" -bg "\%s" -fg "\%s" -geometry %dx%d+%d+%d -e bash -ic %%s'
|
|
|
|
let fmt = 'xterm -T "[fzf]" -bg "%s" -fg "%s" -geometry %dx%d+%d+%d -e bash -ic %%s'
|
|
|
|
if has('gui_macvim')
|
|
|
|
if has('gui_macvim')
|
|
|
|
let fmt .= '&& osascript -e "tell application \"MacVim\" to activate"'
|
|
|
|
let fmt .= '&& osascript -e "tell application \"MacVim\" to activate"'
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
return printf(fmt,
|
|
|
|
return printf(fmt,
|
|
|
|
\ synIDattr(hlID("Normal"), "bg"), synIDattr(hlID("Normal"), "fg"),
|
|
|
|
\ escape(synIDattr(hlID("Normal"), "bg"), '#'), escape(synIDattr(hlID("Normal"), "fg"), '#'),
|
|
|
|
\ &columns, &lines/2, getwinposx(), getwinposy())
|
|
|
|
\ &columns, &lines/2, getwinposx(), getwinposy())
|
|
|
|
endfunction
|
|
|
|
endfunction
|
|
|
|
unlet! s:launcher
|
|
|
|
unlet! s:launcher
|
|
|
|