fix 'SELECTIONS' constant name
added 'cmd' argument support, so you can assign an external editor using kwargs instead of settings