Skip to content

Python, TCL and Blinkscript editor for Nuke based on VIM editor

License

Notifications You must be signed in to change notification settings

vinavfx/vina_scripter

Repository files navigation

Vina Scripter

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

Feautres

  • 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

Installation

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()

Basic Use

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

Screenshots

  • TABS

image

  • COMMAND LINE

image

  • NORMAL Mode

image

  • INSERT Mode

image

  • VISUAL Mode

image

  • VISUAL LINE Mode

image

  • BLINKSCRIPT Code

image

  • PYTHON Code

image

  • TCL Multidimensional Code

image

About

Python, TCL and Blinkscript editor for Nuke based on VIM editor

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages