vim-processing
vim-processing copied to clipboard
Preview the sketch in another screen and don't block the development
trafficstars
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 ?
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.
It doesn't work in MacVim...thank you all the same!