If you use Python and pby in Blender to develop addon's and like to use Vim as script editor.
You need Blender of course. https://www.blender.org
In Blender install the add-on bpy_externall, activate it and start the listener See https://github.com/zeffii/bpy_externall. You might want to use a blender bootstrap script
For now you need a posix machine e.g. OSX or Linux.
See https://github.com/zeffii/bpy_externall for instructions how to install bpy_externall.
Use your plugin manager of choice.
- Pathogen
git clone https://github.com/mipmip/vim-run-in-blender ~/.vim/bundle/vim-run-in-blender
- Vundle
- Add
Bundle 'https://github.com/mipmip/vim-run-in-blender'
to .vimrc - Run
:BundleInstall
- Add
- NeoBundle
- Add
NeoBundle 'https://github.com/mipmip/vim-run-in-blender'
to .vimrc - Run
:NeoBundleInstall
- Add
- vim-plug
- Add
Plug 'https://github.com/mipmip/vim-run-in-blender'
to .vimrc - Run
:PlugInstall
- Add
Map the functions below.
:RunInBlender
to run the complete buffer contents in Blender.
:'<,'>RunSelectionInBlender
to run the current visual selection
- testing
- improve output