3 ms·
First, Sublime Text is not a "better" editor than Vim. You may find it "easier on the eyes", "easier to learn", "more comfortable", "more modern", "more intuiti
by johncoltrane 13y ago
First, Sublime Text is not a "better" editor than Vim. You may find it "easier on the eyes", "easier to learn", "more comfortable", "more modern", "more intuitive" but as far as text editing goes, it doesn't hold a candle to Vim. And its text editing is a large part of the Vim's appeal for the programmers who use it.
Second, programmers shouldn't learn Vim. Programmers should learn whatever makes them better programmers. If you think nothing beats your current tools/languages/practices there's no point even looking elsewhere. Just keep trucking.
Third, Vim is just as "visual" as ST: you "can use the mouse cursor for moving between tabs or copy or paste codes" just as you would do in ST. The catch is that, for many programmers and most people who work with text, the mouse isn't a very good manipulation tool for words, lines or the arguments of a function. For those people, the keyboard is the best tool for the job and the mouse usually stays there, unused for hours. You can use your mouse in Vim to select text, paste, resize or focus windows, click on quickfix errors or click on a file name in netrw to edit it… but Vim offers much more than what can be done with the mouse or even with your usual Ctrl+Alt+Shift+x combos. Whether that's something valuable is entirely up to you.
If you don't mind pressing thousands of Ctrl+arrows a day then Vim's wWbBeE$0^(){} won't appeal to you. And it doesn't matter. If you are comfortable with your setup, stick with it. No one will judge you negatively for that.
I started to learn Vim because I was in the process of switching from Mac OS X to Linux and the last and most important part was the editor. I was very efficient with TextMate and, well… I just wanted a cross-platform alternative. I wasn't looking for something better than what I was used to but I wanted something that did just as much.
It's only after a while that the evidence jumped at me that TextMate was in fact very limited and that Vim's design (its famed "language", text-objects, modes and so on) was an order of magnitude more empowering than TextMate's lush but too conventional features.