Hi, I just downloaded the sublime text 2 trial today to check out sublime on linux after I saw a friend using it… I haven’t explored very much yet, but I was starting to look at how I could duplicate my old workflow with Geany. I think what I want can be done with a plugin, but I’m not sure, so I’ll state the problem.
I have a text file open in sublime. I’d like to hit a key and have it execute commands on the shell from that directory with my current bash profile environment.
Here are a few things I wanted to run bound to a single key:
- perforce checkout (i.e. ‘p4 edit filename’ with the P4CONFIG env set correctly
- ‘tidy filename’ to automatically indent an xml file in the buffer
I also heard about the Builds system… auto build on save or something? I’d be great if perforce could be told to edit (checkout) a file whenever I save the buffer… but I couldn’t get that to work with a wildcard selector like ‘*’.
Thanks!