News for hackers. Stuff that matters.
Re:Bill Joy's greatest gift to man – the vi editor (2003) by zerr on Wednesday May 06, 2020 @02:30PM (#23094609)
What I observe is that most vim fans who swear by it use it as a bare bones editor, syntax highlighting at most. No auto-completion, go to definition or any other IDE stuff. Yes, it is possible to make vim IDE-like but very few do so.
Re:Bill Joy's greatest gift to man – the vi editor (2003) by u801e on Wednesday May 06, 2020 @11:39PM (#23099460)
> No auto-completion, go to definition or any other IDE stuff.

vim has had those features for many years now, so I'm not sure why people wouldn't make use of those features unless they aren't aware of them.

Re:Bill Joy's greatest gift to man – the vi editor (2003) by j2kun on Wednesday May 06, 2020 @11:46PM (#23099498)
Tags! I do wish I knew how to use that feature better...
Re:Bill Joy's greatest gift to man – the vi editor (2003) by acqq on Wednesday May 06, 2020 @02:55PM (#23094899)
The existence of "modes" is also opposite to the approach which is know for decades to be less prone to accidental errors: having no modes and always being able to perform more undo steps.

There were even the games of considering what plain text typed in wrong mode would cause the most of the damage.

The main reason Vim and Emacs have their current followers is that the competing editors on Linux or Unix platforms are significantly worse (on average), not that these two are by any means any kind of the possible optimum. And boy, is the competition worse.

(Personally, I use console editors only if I have to, and then prefer to use vim, but otherwise I prefer my customized low-footprint programmable GUI.)

Re:Bill Joy's greatest gift to man – the vi editor (2003) by u801e on Wednesday May 06, 2020 @11:42PM (#23099472)
> The existence of "modes" is also opposite to the approach which is know for decades to be less prone to accidental errors: having no modes and always being able to perform more undo steps.

vim has had the multi-level undo and redo for a number of years. If I really screw up, I can always run something like :earlier 5m to get back to the state I was at 5 minutes ago.

The only problem I have with some of the normal mode keystrokes is when I want to use some of the window based shortcuts and accidently press ctrl-w while my browser window is open (which closes the tab) :)

Re:Bill Joy's greatest gift to man – the vi editor (2003) by nouveaux on Wednesday May 06, 2020 @06:25PM (#23097108)
The power that vim has out of the box is pretty incredible. The macro system is very easy to use and powerful.

That said, it is hard to learn all these features and modern GUI IDEs are pretty amazing. You can still use vi in many of these editors.

Re:Bill Joy's greatest gift to man – the vi editor (2003) by gen220 on Wednesday May 06, 2020 @06:08PM (#23096917)
I used to be like you describe, mostly because language-specific plugins were a dumpsterfire of hidden complexity, that really slowed down your editing experience.

While some plugins are brilliantly-designed, it takes a long time to learn how to configure one language plugin to your tastes, and that learning is generally non-transferable to other language plugins. (vim-go fits this to the T, ime).

https://github.com/dense-analysis/ale (along with the language-server movement in general) changed my perspective. I now do at least the go-to and autocomplete half of IDE things, now.

Re:Bill Joy's greatest gift to man – the vi editor (2003) by cercatrova on Wednesday May 06, 2020 @11:08PM (#23099272)
Have you tried language server implementations like coc.nvim? They seem to be superior to ale and others that don't use the Language Server Protocol.
Re:Bill Joy's greatest gift to man – the vi editor (2003) by gen220 on Wednesday May 06, 2020 @11:18PM (#23099326)
I know some people at work use it, but I haven’t gotten around to trying it. What’s the advantage over using ale to compose gopls or python-language-server? Is it the fancy windows? :)

I took a cursory look at their repo. I might be understanding this incorrectly, but it looks like you have to run node as a sidecar to use it? Isn’t that really intensive vs ALE? I figure if I wanted to run V8, one might as well use VSC, which after all is an electron app. :)

Re:Bill Joy's greatest gift to man – the vi editor (2003) by nouveaux on Wednesday May 06, 2020 @06:22PM (#23097066)
Yea the dark side of Vim is that it is at best IDE light. With coc, it has gotten better but still far behind vscode.

It is a trade off I gladly accept to use vim and tmux. Aside from that, vim plugin for vscode is pretty good for doing pair programming with the team.