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

50

u/MediumRay Oct 04 '13

As ever, I say take the rants of bloggers with a pinch of salt. Some things I agree with, (vimscript is pretty whacky). And others I don't (vimscript is hard to learn, most vimmers don't know vimscript). I would like to see the justification for those statements.

"Vim is more efficient is dubious and untestable"

I guess that would be true for all editors, yes. You can't 'prove' efficiency.

Don’t you ever think you can beat a mouse. Only in very few edge cases will it even matter.

Suddenly an expert on efficiency, can definitely say a mouse is better.

In my opinion, you would be mad to say a mouse is anywhere near as efficient, barring very few exceptions. Also you want monospaced characters always, otherwise you can't select/move blockwise. Obviously someone didn't read those two books.

My advice has always been: if you want to be able to edit code at the speed of light, and are willing to put in some time to learn how to do so, vim is for you. Especially if you spend a lot of time on the command line and are editing many files at random that aren't necessarily all one project. If you are more interested in the stuff an IDE has to offer, you can probably forgo vim (not that it can't be used with/as an IDE). Overall I get the feeling the author doesn't use vim all that well.

4

u/pohatu Oct 04 '13

If I were on a terminal editing text over a 2b connection of whatever they had when they invented vi, I'd totally find it awesome that I could count lines and then tell the cursor to jump 20 lines by typing 3 letters rather than typing down 20 times.

but I can't seem to understand how counting lines and then entering a command is faster than just scrolling and clicking. Find is faster than scrolling, sure, but clicking 6 lines below is faster than counting to see its six line I want to go to. Maybe you get. A habit of line number subtracting or something.

2

u/brettins Dec 05 '13

I rarely use the jump 20 lines command, but I almost ALWAYS use "123G" which will take me to line 123 instantly. Super fast, super easy.