r/coding • • Oct 04 '13

Just use Sublime Text (instead of vim)

http://delvarworld.github.io/blog/2013/03/16/just-use-sublime-text/
43 Upvotes

254 comments sorted by

View all comments

Show parent comments

2

u/SrPeixinho Oct 04 '13

Macros and most of the key stuff. This is a video I've made to show one of those things. You could do THAT on Sublime, perhaps, with macros and some mouse deleting. But when it comes to anything more complex than that, such as reversing the order of the arguments of all the functions on your file... things like that, that you can do in a dozen keystrokes on VIM... well, good luck figuring out on Sublime.

But in summary, the fact I never remove my hands off base is what makes me so fast. Command line integration, macros, easymotion, hability to map the key "r" to <save, compile, refresh browser> and stuff like that help a lot. But mostly it is the "flow" mode you enter when you just type type type type and stuff happens and ba, you've just made a copy of megaman 3 in 5 days.

But you can't understand it before you are good enough on VIM. I admit. I couldn't.

0

u/[deleted] Oct 04 '13

[deleted]

1

u/SrPeixinho Oct 05 '13

Why would you want to do that?

Because you changed the function definition? Or is now using another lib that has different conventions?

That was just an example, changing arguments order is not the only kind of complex thing you can do ridiculously fast with VIM.

I do admit Sublime is the second better editor today. I think it is even better than Emacs. It really did a good job capturing almost anything that VIM can do. But not all the things.

It is curious that it was Sublime/Vintage mode that gave me the balls to learn VIM.

1

u/[deleted] Oct 05 '13

Well, what makes Sublime a particularly good fit for me is it's simplicity. I do most complex actions using simple and abstract actions. Multiple cursors, some nice selection tools and a rich command palette make for a powerful basis.

Obviously these features originate from plugins to emacs and vim, but having to work with the abstract basics has changed my workflow for the better.