6 ms·
> what kind of medication the OP stopped taking The OP has a really "sane" take on things imho (yes, it's incredibly opinionated, but it's blog post featured o
by nnq 14y ago
> what kind of medication the OP stopped taking
The OP has a really "sane" take on things imho (yes, it's incredibly opinionated, but it's blog post featured on HN, not a SO question someone like you can close in minute :) - and I'm glad he bothered to write it, as I'd probably just send the link to it to any newbies asking me about "the magical vim" instead of bothering to tell them what I think) and he's right on one thing: vim will not increase the productivity of a new user. The actual productivity increase will only happen months later (basically too late to worth it), and it will not matter that much because 90% of the time spent coding is actually spent either:
(1) plainly writing code (no advanced editor functionality helps here, Notepad++ is basically good enough!),
(2) making simple edits to code (again, more editor functionality doesn't really help because 90% of the time spend editing code it actually spent thinking about what to edit, not actually pressing the keys)
(3) reading code,
(4) exploring codebases (the only thing helpful at this is a full featured IDE - it just takes too much work to turn vim in to something like this, and you'll just end up with something mostly matching Netbeans feature-wise, so you could just as well install Netbeans or something else better for your language/framework in 5min and spend 1h to really learn how to use it),
(5) debugging (again, the only thing that could, for some, including me, increase productivity, is a full-fledged graphical debugger).
...and if you need to improve that last 10%, then you are far from a beginner at anything, eg. you are not the person that vim tends to be recommended to nowadays.
And the OP also expressed why I like ST so much: "To code in Vim, you have to keep Vim in your head just as much as the code that you’re editing. You have to constantly think about what you’re doing." - at most (not all) things ST beautifully follows the "don't make me think" principle: eg. arbitrary multiple cursors (no other IDE or editor besides Notedpad++ has them yet, no matter how many users requested this for JetBrain IDEs for example), that just let you "edit without thinking", keeping the code in your working memory instead of the sequence of search and replace commands.
But all that said, I absolutely love vim's keybindings and modal editing concept, so I tend to enable vim keybindings or install a vim-emulator plugin on most IDEs and editors I end up using because it also spares you of having to commit the different shortcuts that every other IDE and editor uses to "muscle memory". I see vim like more like an uptional UI/X layer that should be addable to any decent editor or IDE to enable experts to improve their 10%. Fortunately Sublime text has such a "layer" so OP's post is kind of valid.
- trowftd 14y agoNotepad++ is good enough until you need to do a regex search that includes new lines in it.
- EwanToo 14y agoTrue, but in extended search and replace mode you can handle newlines without goo much hassle, it's just not in the standard regex option
- akavel 14y ago?? he can do, in Ctrl-F dialog box enable ". matches newline", I've done that more than once and never had any problem...?
- dsego 14y agoAnd it's windows-only.
- sanityinc 14y ago> eg. arbitrary multiple cursors (no other IDE or editor besides Notedpad++ has them yet Emacs support for multiple cursors is also available: https://github.com/magnars/multiple-cursors.el https://github.com/magnars/multiple-cursors.el
- rrreese 14y agoVisual Studio also has this with the MultiEditing plugin: http://visualstudiogallery.msdn.microsoft.com/2beb9705-b568-45d1-8550-751e181e3aef http://visualstudiogallery.msdn.microsoft.com/2beb9705-b568-...
- nnq 14y agocan it select, copy, paste and do zen-coding like expansions in multi-mode? if it can't do all of them or I can only use it to insert multiple cursors at search points (like the emacs multiple cursors plugin, sigh) I'll consider it useless for my workflow.
- 14y ago