Last active
February 27, 2018 16:13
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"============================================================================== | |
"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