Hacker News new | ask | show | jobs
by hynek 5373 days ago
This is really getting tempting! Before I procrastinate hours away by learning a new editor:

Does ST2 have advanced editing features like vim's cit, ysaw( or ci'?

I'd really love to switch a to modern editor with a scripting language I like. But I use the constructs above all the time and would dearly miss them.

1 comments

Vintage Mode supports cit, and ci' directly. For normal editing, there are equivalents like Expand Selection to Tag (Command+Shift+A / Ctrl+Shift+A)
Great!

Is it possible to remap Esc to other keys? Most vim users use jj or jk instead of Esc and when in command mode space instead of :.

Vintage Mode is implemented entirely via key bindings and a few plugins (which come as commented python source). Everything is customisable, there are some details at http://www.sublimetext.com/docs/2/vintage.html
I couldn't help but send you money Sir. Please keep up the great work!
Think this build adds in ^-[ as an alias for Esc.