Skip to content
Myr

[vim] Refocus MacVim window

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 b4a05ff · Browse files · 1 file+5 added−3 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+5 added−3 removed

  • other:+5 added−3 removed

1 file+5 added−3 removed

modified:plugin/fzf.vim+5 added-3 removed
191 unmodified lines
192 endif193endfunction194195function! s:xterm_launcher()196 return printf('xterm -T [fzf]'197 \ .' -bg "\%s" -fg "\%s"'198 \ .' -geometry %dx%d+%d+%d -e bash -ic %%s',196 let fmt = 'xterm -T "[fzf]" -bg "\%s" -fg "\%s" -geometry %dx%d+%d+%d -e bash -ic %%s'197 if has('gui_macvim')198 let fmt .= '; osascript -e "tell application \"MacVim\" to activate"'199 endif200 return printf(fmt,201 \ synIDattr(hlID("Normal"), "bg"), synIDattr(hlID("Normal"), "fg"),202 \ &columns, &lines/2, getwinposx(), getwinposy())203endfunction204unlet! s:launcher
166 unmodified lines