using sublime text as your knife editor

I frequently get tripped up by this - especially when i'm trying to edit a large JSON document for a node and want a graphical editor.

this:

export EDITOR=subl
knife node edit mr-node

won't work:

Node not updated, skipping node save

subl need some additional switches. try this:

export EDITOR="subl -n -w"
knife node edit mr-node
Photo by Blake Richard Verdoorn on Unsplash