Hacker News new | ask | show | jobs
by ohgodthecat3 5081 days ago
Well if you like modal editing you can use sublime text 2's built in vi emulation. So if you donwload sublime text 2 (you can try it without buying it) and in the user settings have

    {
        "ignored_packages": []
    }
You can use vi style modal editing with most if not all of your usually vi commands.
1 comments

not happy there, its too quirky compared to real VI. That's the first thing I tried.

I really do miss using custom macros that do ',.' to swap between unit tests and production code. It feels forced.

Yeah I never found it very good either though the regular sublime has a lot of good stuff in it it is just hard to find and get used to. (Kind of like when you start using vi you don't do stuff the fastest way but the way you learned that can approximate it using x+i rather than c)

The best way I found to do it is to use the ctrl+shift+p (may be cmd+shift+p on mac) menu which has keybindings next to the names so you can find the keybinding if you forget it

You can do custom macros as well but those aren't seen in the menu but if you look for tutorials they are there, not quite the same as vi but workable.