News for hackers. Stuff that matters.
Re:How Alex Payne Uses TextMate by frankus on Friday December 05, 2008 @02:45PM (#387441)
I've fallen in love with the vertical selection feature (option + drag).

You can even create a vertical insertion point and anything you type or delete will appear or disappear on all selected lines.

Re:How Alex Payne Uses TextMate by aaronblohowiak on Friday December 05, 2008 @03:13PM (#387473)
Re:How Alex Payne Uses TextMate by iron_ball on Friday December 05, 2008 @03:43PM (#387502)
jEdit has this too. alt-backslash and ctrl-backslash toggle multiple selection/insert and rectangular selection/insert. So you can select multiple blocks of text, then what you type will replace all of them at once.
Re:How Alex Payne Uses TextMate by aaronblohowiak on Friday December 05, 2008 @04:54PM (#387581)
Wow, that's pretty awesome. Can you do this without using the mouse?
Re:How Alex Payne Uses TextMate by iron_ball on Friday December 05, 2008 @06:19PM (#387647)
Of course. jEdit uses standard shift+direction selection. And like most good text editors, you can map or remap any command to any key combination.

My blog is in a state of utmost disrepair, but if I ever clear its personal content and reboot it as a professional blog, a "hey everybody, jEdit" post will be pretty early on. I think it strikes a nice balance between vim/emacs-like power and GUI-app usability, and as one of the few high-quality Java desktop apps, it's cross-platform.

Re:How Alex Payne Uses TextMate by aaronblohowiak on Friday December 05, 2008 @06:48PM (#387669)
Please do!

email me your blog info (not in your profile) so i can suscribe for when you get around to it. [email protected]

Re:How Alex Payne Uses TextMate by iron_ball on Friday December 05, 2008 @08:41PM (#387747)
It's personal right now, I mean to privately archive the old content and start fresh. Once I get around to rebooting it, I'll self-promote by posting something here once I write something people might be interested in. Thanks for your interest, though!
Re:How Alex Payne Uses TextMate by thomasmallen on Friday December 05, 2008 @06:02PM (#387639)
Except for mouse interaction (correct me if I'm wrong, GVim vets), Visual mode in Vim puts TextMate's block select to shame (docs: http://www.vim.org/htmldoc/visual.html) because it allows you to use Vim's other editing commands (replace, change, insert from beginning or end, etc.). Not to mention that you can select this block based on Vim motions. I guess this all adds up to Vim surpassing most other editors when it comes to selecting text, which is a given considering its focus on moving around code.
Re:How Alex Payne Uses TextMate by hs on Friday December 05, 2008 @07:45PM (#387706)
vim has it too, powerful indeed

select the block use v or ^v and navigate with hjkl, do commands like c,d

replace string in text selection -> v (or ^v) + hjkl + :s/old/new

comment a block of code (5 lines) with # -> 0 + ^v + 5j + I + # + Esc + j

as a plus, u don't need mouse ... fear the simplicity

Re:How Alex Payne Uses TextMate by izak30 on Friday December 05, 2008 @05:34PM (#387614)
Notepad++ does that too (back before I was a happy TextMate/OSX.. Notepad++ on Win gave a good experience)
Re:How Alex Payne Uses TextMate by newt0311 on Friday December 05, 2008 @09:55PM (#387784)
Emacs: Rectangular selection. A complete superset of that functionality. Check out the C-x r --- key combos.

Inserting in a rectangle: C-x r t Deleting in a rectangle: C-x r d

and more...