sudo ln -s /home/me/Applications/Sublime\ Text\ 2/sublime_text /usr/bin/subl
subl -w $*
singingwolfboy wrote:Would also love to be able to set my EDITOR environment variable to point to Sublime Text 2, so that it would integrate into command line tool usage: for example, run "svn commit" and have Sublime Text 2 pop open for me to type in a commit message.
export EDITOR="$(which sublime) --new-window --wait"
Users browsing this forum: chekin, Exabot [Bot] and 18 guests