I used this answer to change the editor used with quickly and it worked, however now,when I type quickly edit
the command line stays on the open and does not allow me to enter other commands as long as Sublime Text 2 is open. I realise this is a daft question, but I can't seem to find a way to get around it.
Set the
EDITOR
environment variable to sublime and thenquickly edit
will use it:Just add the above line to your
~/.bashrc
fileIt does this because gedit is programmed to do that when you run it from the command line. You can make quickly do that with other editors by using
quickly edit &
.Edit: I wrote a Perl script that will run the editor as a as a child of init so when you close the terminal the editor will remain open: script
You can set the following vaiables at the top of the script: