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.


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