Hacker News new | ask | show | jobs
by andrepd 1138 days ago
Sublime is excellent precisely because it has such excellent non-modal hotkeys out of the box.

I swear, I spent over a year training vim. I still wasn't as quick as I was after a week of sublime. It's pretty much the only proprietary software I shill for.

1 comments

I also find Sublime Text to have the most well-designed non-Vim keybindings I’ve used. Having used Vim for a decade before trying Sublime, I initially underestimated how well it works even without a Vim plugin.

Two of my favorite tricks: (i) Search in file (Cmd-F), turn on regex mode if it’s not already on (Cmd-Opt-R), search for a pattern (with regex syntax highlighting!), and press Opt-Enter. This places one cursor / selection at every regexp match.(ii) Press Cmd-R to get a list of classes/functions in the file, and navigate with arrow keys (or type to search). Performs roughly the same function as I used code folding for in Vim or imenu for in Emacs. (Sublime also has code folding, but I don’t like the implementation much.)