Skip to content

Instantly share code, notes, and snippets.

@masaakif
Last active February 27, 2018 16:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save masaakif/47855 to your computer and use it in GitHub Desktop.
Save masaakif/47855 to your computer and use it in GitHub Desktop.
Launch Processing from vim, give file opening in the current window to Processing.
"==============================================================================
"startproce55ing.vim : Launch Processing from vim, give file opening in the current window to Processing.
"==============================================================================
"$VIMRUNTIMEPATH/plugin/startproce55ing.vim
"==============================================================================
" Last Change:
" Written by: masaakif
"==============================================================================
" StartProce55ingでPDEファイルを起動する
"
"==============================================================================
" vim: set fenc=cp932 ff=unix ts=4 sts=4 sw=4 et nowrap :
scriptencoding cp932
" if plugin is already loaded then, not load plugin.
if exists("g:loaded_startproce55ing")
finish
endif
let g:loaded_startproce55ing = 1
function StartProce55ing()
!start "c:\\Program Files\\processing-1.0.1-expert\\processing.exe" "%:p"
endfunction
command! -nargs=0 StartProce55ing call StartProce55ing()
finish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment