Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What if it's 'so called nutheads' that you want to change?

AFAIK, Sublime Text 2 doesn't provide a shortcut for that. You can do Ctrl+D to select "called" but then what? Extending selection to scope or brackets won't help and you are back to a series of Ctrl+Left -> Ctrl+Left -> Ctrl+Shift+Right -> Ctrl+Shift+Right -> Ctrl+Shift+Right. In Vim, that's ci', or ca' if you want to also remove the quotes. Hell, you don't even have to move the cursor to the quoted text to do that.

This scenario happens dozens of times in a given day around here and, as for many other little things, Vim and his "awkward" language and it's "antiquated" modality rule.

The irony, here, is that you actually can change the content of a pair of quotes in ST2.

If you activate its Vim mode.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: