![]() ![]() If anyone knows a more elegant way of doing this, or how to do it in ST2, please share. 2) It will delete all the marks, so if you regularly use marks, you won't like this macro (though I’m sure it can be adjusted to just delete the last mark). ![]() 1) This only works in ST3, because ST2 doesn’t have a built-in function for returning to previous cursor position. ![]() It boils down to: 1) run incremental search (command-I in OS X, exits search field on enter), 2) hit shortcut key. This can all be encapsulated in the following macro, then assigned to a shortcut key: [ The basic idea is that you initiate an incremental search (or regular Find, and exit the search field with ESC), set a mark, rewind to the prior cursor position, extend selection to mark, then clear the mark. That unsettling key seems to be the '0' in the number pad, on the right. However, on a non-extended keyboard, there is no insert key. It toggles between Insert mode and Overwrite mode. Here’s a (very inelegant) approach I came up with only works in ST3. On the top row of a QWERTY keyboard there is a button marked INSERT. I’m not sure what the norms are for answering one’s own question here, but since I got the dreaded Tumbleweed badge for this one, I figured I’d try to do it myself. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |