=== modified file 'autoload/fgcommand.vim' --- autoload/fgcommand.vim 2013-05-15 21:17:28 +0000 +++ autoload/fgcommand.vim 2013-05-04 01:44:53 +0000 @@ -1,16 +1,8 @@ function! fgcommand#Stop() - if exists('$VIM_FG_CMD') - execute 'silent ! mkdir -p '.shellescape(fnamemodify($VIM_FG_CMD, ':h')) - " execute "silent ! printf '\\%c \\%d\\n' 34 ".getpid().' >'.shellescape($VIM_FG_CMD) - tabnew - 0put =printf('%cpid: %d', 34, getpid()) - execute 'w! '.fnameescape($VIM_FG_CMD) - bdel - endif stop - if exists('$VIM_FG_CMD') && filereadable($VIM_FG_CMD) - execute 'source '.$VIM_FG_CMD - execute 'silent ! rm '.shellescape($VIM_FG_CMD) + if exists('$FGCOMMAND') && filereadable($FGCOMMAND) + execute 'source '.$FGCOMMAND + execute 'silent ! rm '.shellescape($FGCOMMAND) redraw! endif endfunction === modified file 'plugin/fgcommand.vim' --- plugin/fgcommand.vim 2013-05-15 21:17:28 +0000 +++ plugin/fgcommand.vim 2013-05-04 01:44:53 +0000 @@ -1,1 +1,1 @@ -command! -bar Stop call fgcommand#Stop() +command! Stop call fgcommand#Stop()