Python and Blinkscript editor for Nuke, based on the VIM editor, inspired by KnobScripter, but rewritten, the idea that is simpler and more useful and without the option to edit external files.
Showing: https://vinavfx.com/blog
- Edit Temporary Scripts to make it work and create ':tabnew' tabs and close them 'tabclose'
- Ability to edit any Expression of any knob in python or tcl
- Automatic detection of Blinkscript, TCL and Python knob
- It is scalable to add more shortcuts and missing VIM commands
1 - Copy to nuke folder
# Linux:
cd ~/.nuke
git clone --recursive https://github.com/vinavfx/vina_scripter.git
# Windows
# Download git: https://git-scm.com/download/win
git clone --recursive https://github.com/vinavfx/vina_scripter.git "C:\Users\<username>\.nuke\vina_scripter"
# Or manually copy the entire git downloaded folder and its submodules to the nuke user folder
2 - Copy this line to menu.py
import vina_scripter
vina_scripter.setup()
To use the editor without vim mode, press the 'Vim' button on the top right, and it will work like a normal editor !
-
:w : Save script to node
-
:wq : Save node and Exit
-
:q : Exit node
-
:tabnew : New script page
-
:tabclose : Close script page
-
:tabo : Close all except the current page
-
:1, :2, :3... : Go to line
-
/ : Search
-
:retab : Change the indentation to 4 spaces
-
i : Insert mode
-
v : Visual mode
-
V : Visual Line mode
-
Ctrl+[ : Exit modes and exit selected words
-
* : Find word under cursor
-
For all shortcuts and commands see them here, vim.rtorr.com not all vim shortcuts are implemented in Vina Scripter ! In this script are all available shortcuts, in case you want to change them at will. keys_vim_mode.py
- TABS
- COMMAND LINE
- NORMAL Mode
- INSERT Mode
- VISUAL Mode
- VISUAL LINE Mode
- BLINKSCRIPT Code
- PYTHON Code
- TCL Multidimensional Code