Update: Just found a way to accomplish what I want. It's not quite a toggle between standard/vertical selection, but pressing ctrl+shift+l splits the selection into lines, then with ctrl+arrow and ctrl+shift+arrow you can adjust the selection, which is close enough to TextMates vertical selection for me.
I also miss this feature from TextMate. Joel, shift+rightdrag does perform the effect, but since it is mouse controlled it is much less efficient than keyboard toggle.
One example case: I have a very long list of ids of objects in a data base table, like so
I would like to run a query looking only at these specific objects, which can easily be done like so:
WHERE id IN ('00001', '00131', '00144', ..., '63492');
To do this, I would like to convert the list to
and then copy/paste into the query. With TextMate, this is very simple. I simply put the caret at the beginning of the first line, select all (ctrl+a), which also moves the caret to the end of the last line. Now I toggle to vertical selection, and move the caret with shift+left to the beginning of the end line, then press '. Now I have added a single citation mark at the start of each line, and it takes a couple of seconds to do. Repeat (with suitable modification) to add the end citation and comma to each line. Very fast.
With ctrl+rightdrag, I can accomplish the same change, but if the file is big it takes a significant time (minutes) to drag through the whole file.
Customer support service by UserEcho