News for hackers. Stuff that matters.
Re:NeoVim 0.2.0 released by adrianN on Tuesday May 02, 2017 @04:41AM (#14244904)
I'm currently using vim and I'm quite happy with it. I don't use many plugins, so better support for plugins is not very helpful to me. Are there other reasons why I should switch to Neovim?
Re:NeoVim 0.2.0 released by monzee on Tuesday May 02, 2017 @08:01AM (#14245636)
Faster startup, mouse works as you'd expect in a regular desktop app. Switch panes, tabs, open new tab, scroll panes, resize panes, select ranges, all in the terminal. I know not using the mouse is one of the reasons why one would choose vim, but the mouse really is faster/more intuitive in some situations.
Re:NeoVim 0.2.0 released by lucky_cloud on Tuesday May 02, 2017 @08:47AM (#14245898)
Using a mouse is not faster if you really know how to use vim. I guarantee I can get to any line in any window in any tab faster than it takes for my hand to even reach the mouse. Same for resizing splits, selecting ranges, whatever. It's only more intuitive if you're stuck in a GUI mental model. Disable mouse support and learn to navigate vim just like you learned to edit in vim.

Not trying to come off as confrontational, just my 2¢.

Re:NeoVim 0.2.0 released by isthisnagee on Tuesday May 02, 2017 @10:00AM (#14246346)
Resizing panes is more intuitive with a mouse imo. Doing it with a command just leaves me guessing and estimating how much to move things.
Re:NeoVim 0.2.0 released by pmoriarty on Tuesday May 02, 2017 @11:22AM (#14247102)
It should be possible to use something like EasyMotion to resize panes, taking the guesswork out of it and making it as fast or even faster than using the mouse.
Re:NeoVim 0.2.0 released by BoorishBears on Tuesday May 02, 2017 @10:01AM (#14246352)
Being "stuck in a GUI mental model" means I use IDEs for most development I do instead of vim/emacs (which I guess would be the extreme of being stuck in that model?). At the end of the day using my mouse to open a file doesn't impede my ability to code in the slightest.

I've never understood the almost subtle elitism behind being able to use Vim without a mouse because "moving your hand to the mouse is slow". If a problem is so simple my writing/editing a solution for it is constrained by... the time it takes my hand to move to my mouse... I usually just fire up nano.

Re:NeoVim 0.2.0 released by lucky_cloud on Tuesday May 02, 2017 @10:59AM (#14246862)
It's not about elitism, it's about using the tool you've chosen efficiently.

If I used the IDEs you use, and you suggested to me a way of using them more efficiently, I wouldn't accuse you of elitism. I'd thank you for showing me something new and improving the way I work.

Have you ever witnessed somebody using a mouse to move between form fields? My bet is you at least thought about telling them they can use the tab key. You probably wouldn't expect them to come back with some comment about the subtle elitism behind using the tab key.

Re:NeoVim 0.2.0 released by BoorishBears on Tuesday May 02, 2017 @11:12AM (#14246996)
If I told them they didn't really know how to use a browser because... they didn't know to use tab to move between fields... I wouldn't be surprised in the slightest if they came back with some comment about the subtle elitism
Re:NeoVim 0.2.0 released by lucky_cloud on Tuesday May 02, 2017 @11:53AM (#14247413)
Ha, fair enough. But that really only shows that my example wasn't great.

If you eat soup with a fork, you don't know how to use silverware. If you drive nails with a ball-peen hammer, you don't know how to use hammers. That's not hammer or silverware elitism.

IMO, using a mouse in vim shows that you don't know vim. You can still get the job done, but why not commit to using the tool as intended?

Re:NeoVim 0.2.0 released by fmoralesc on Wednesday May 03, 2017 @07:49AM (#14254889)
Have you used a PDF form where the order of the fields is wrong so Tab moves all over the place? I sure have. There is no silver bullet.
Re:NeoVim 0.2.0 released by Tarean on Tuesday May 02, 2017 @02:17PM (#14249027)
Most IDE's have fantastic fuzzy search and go-to-identifier tools you might want to try. I find it much easier to stay concentrated on a change when not needing to hunt files with the mouse.
Re:NeoVim 0.2.0 released by Liquid_Fire on Tuesday May 02, 2017 @11:29AM (#14247162)
The mouse features you describe are already available in regular vim; I have been using them since long before NeoVim existed. Are they improved somehow?
Re:NeoVim 0.2.0 released by pekk on Tuesday May 02, 2017 @12:21PM (#14247735)
I can already use the mouse normally in vim... is it that the configuration is too hard?
Re:NeoVim 0.2.0 released by knlje on Tuesday May 02, 2017 @05:04AM (#14245005)
On the other hand there are not many reasons for not doing the switch. Thus, it's more like choosing whether you want to support the project or not.
Re:NeoVim 0.2.0 released by dkersten on Tuesday May 02, 2017 @05:38AM (#14245140)
Do any of the plugins that you do use slow the editor down? Eg some completion plugins that parse code may not be the fastest. Neovim makes this asynchronous so it no longer blocks you're editing while its working away in the background. The built in terminal is nice too (I use it to give me a "real" REPL for Clojure development)
Re:NeoVim 0.2.0 released by balac on Tuesday May 02, 2017 @06:20AM (#14245269)
vim 8 also now supports asynchronous plugins (not sure how many have been upgraded though).
Re:NeoVim 0.2.0 released by hdra on Tuesday May 02, 2017 @05:38AM (#14245138)
Not much, which is really its selling point. Its really "just vim".

There is the more "open" and "community-focused" development model, and better code organization, if you care about those.

Re:NeoVim 0.2.0 released by hdra on Tuesday May 02, 2017 @06:12AM (#14245247)
and by the way, by "just vim", I really meant it. That means in most cases, "switching" involves little more than symlinking your vimrc.
Re:NeoVim 0.2.0 released by antouank on Tuesday May 02, 2017 @07:22AM (#14245477)
Had the same question since I just started with vim.

What I saw in using nvim:

    - terminal use
    - async plugins
    - it's almost entirely compatible to vim anyway, so you can switch whenever you want to.
Also would like to say thanks to the devs working on making neovim.
Re:NeoVim 0.2.0 released by geowwy on Tuesday May 02, 2017 @05:42AM (#14245151)
> Are there other reasons why I should switch to Neovim?

I've switched back and forward between neovim and vim since last year. Most people won't notice a difference right now. I think around version 1.0 we'll start seeing people do some more compelling stuff with neovim.

Re:NeoVim 0.2.0 released by JoBrad on Tuesday May 02, 2017 @08:43AM (#14245868)
I initially went to neovim because it had better support for color schemes. I usually develop in VSCode, and wanted a similar color scheme when I needed to make small edits on the server. Neovim had much better support for that, and acted like "normal vim" the rest of the time, which was awesome.
Re:NeoVim 0.2.0 released by oblio on Tuesday May 02, 2017 @04:51AM (#14244951)
For your use case, probably not many reasons. Maybe the built in terminal?
Re:NeoVim 0.2.0 released by andyhoang on Tuesday May 02, 2017 @05:05AM (#14245007)
What good of a built in terminal? Thanks
Re:NeoVim 0.2.0 released by gkya on Tuesday May 02, 2017 @06:22AM (#14245275)
In Emacs the shell-mode allow me to use the shell as any other buffer, with random access and scrolling. I can cut and paste stuff just like in any other text buffer, manipulate the output of my session to save it to some file / send it to someone else, etc. IDK how it is in nvim but I'm quite pleased with shell in Emacs, can't go back at all. Though if you're using tmux or maybe screen you can probably do similar things.
Re:NeoVim 0.2.0 released by oblio on Tuesday May 02, 2017 @06:54AM (#14245381)
The Vim :sh is much more limited. I actually kind of stopped using it a while ago because it the workflow was so jarring, especially on Windows.

Neovim's :terminal is from what I can tell more or less equivalent to Emacs's shell.

Re:NeoVim 0.2.0 released by oblio on Tuesday May 02, 2017 @05:28AM (#14245100)
I'm not sure I understood your question. This is the terminal: https://neovim.io/doc/user/nvim_terminal_emulator.html

If you're asking what good is a built in terminal, well, there's plenty of scenarios. One I'm facing right now is using GVim on Windows. Have you ever seen what happens when you type !dir in GVim, right now? It's really ugly.

Re:NeoVim 0.2.0 released by saturn_vk on Tuesday May 02, 2017 @01:07PM (#14248230)
I don't use it as a terminal. However, it makes things like fzf integrate quite nicely with neovim. The later looks and interacts awfully in vim.