vim-processing icon indicating copy to clipboard operation
vim-processing copied to clipboard

Preview the sketch in another screen and don't block the development

Open eyworldwide opened this issue 7 years ago • 2 comments

I'm a front end developer. I was used to coding in vim and previewing demo in browser, which is efficient. But when I use vim-processing, I have to stop previewing the sketch when i write code, vice versa. Can anyone tell me how to code and preview in parallel ?

eyworldwide avatar Oct 29 '17 01:10 eyworldwide

In Vim 8 / Neovim, you can run make asynchronously with a plugin like AsyncRun. With this plugin and the command below in your .vimrc, you just have to call :Make to trigger processing-java in the background.

command! -bang -nargs=* -complete=file Make AsyncRun -program=make @ <args>

This way you're able to code and preview the result in parallel.

fturcheti avatar Aug 03 '18 01:08 fturcheti

It doesn't work in MacVim...thank you all the same!

eyworldwide avatar Sep 05 '18 07:09 eyworldwide