I love column typing, but i dont use it as much as i want because I rarely have things formated in a way that'll allow using it. I think it'd be great to be able to just alt-click a bunch of places to enable column typing (no need to be the same char. num in each line), and do the column typing in the places you clicked (of course then it wouldnt really be *column* typing, but i think it's a very intuitive enhancement...)
Regards Duarte Carrilho da Graca
I think it'd be great to be able to just alt-click a bunch of places
to enable column typing (no need to be the same char. num in each line), and do the column typing in the places you clicked (of course then it wouldnt really be *column* typing, but i think it's a very intuitive enhancement...)
hi, i also had similar situations, mostly when editing html, when exactly this problem did occur but i didnt had this idea. i think this is a feature i also would like to see in textmate. isnt this something which would be great for 1.1? :)
It's not really the same, but there is something that achieves the same thing, especially if you do it often with the same patterns, namely snippets. If you define snippets, you can use $1..9 to define text insertion places, which can be skipped between using tab. But you can also use the same variable (say $1) any number of times and the text you type, will be mirrored in each location.
Jeroen.
Greetings, I'm trying to figure out a clever little trigger mechanism for Running a Command sort of "invisibly". I'd like to assign a certain command to the comma "," key, for example, and yet have the comma appear in the current TM window, thus running the said command whenever I happen in the natural course of events to type a comma ;). Now the closest I've come is to "echo" the comma and send the results to the current window, but of course this also gives me the output from the command which I wish to be discarded. Any takers? Thanks again, David
I came across a similar problem when writing a php command completion tool (http://ian.ardes.com/phpcc). The way I solved it was to write two separate commands, one outputting as a snippet, the other as a tooltip. I then wrote a macro to run both of these commands, and bound this macro to the desired key.
Cheers, ian
On 13 Dec 2004, at 17:24, David Wooten wrote:
Greetings, I'm trying to figure out a clever little trigger mechanism for Running a Command sort of "invisibly". I'd like to assign a certain command to the comma "," key, for example, and yet have the comma appear in the current TM window, thus running the said command whenever I happen in the natural course of events to type a comma ;). Now the closest I've come is to "echo" the comma and send the results to the current window, but of course this also gives me the output from the command which I wish to be discarded. Any takers? Thanks again, David _______________________________________________ textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/mailman/listinfo/textmate
Duarte Carrilho da Graça wrote:
I think it'd be great to be able to just alt-click a bunch of places to enable column typing (no need to be the same char. num in each line), and do the column typing in the places you clicked (of course then it wouldnt really be *column* typing, but i think it's a very intuitive enhancement...)
I too would love to see this!
On Dec 13, 2004, at 17:41, Duarte Carrilho da Graça wrote:
I think it'd be great to be able to just alt-click a bunch of places to enable column typing [...] i think it's a very intuitive enhancement...)
I actually do have it on the to-do, but it's way down there, because personally I'd always do a scratch macro instead, since I never use my mouse (column typing can be activated using only the keyboard).
But given this thread and the apparent love for mouse I see on this list in general, I'll award the item a few points ;)