Live data from Hacker News

Neovim 0.8 Released

github.com

41–50 of 230 posts

Re: Neovim 0.8 Released

#41
post #5

Earlier quoted context omitted.

Neovim is vim 8 compatible. It _also_ supports LUA script for config and plugins, has native LSP support, and runs much more efficiently. You can run your current .vimrc using neovim.

>Neovim ... supports LUA script for config and plugins Except it doesn't really. Or at least it's very basic. I'll re-post a comment I made on this, when it was discussed a while back [0] https://news.ycombinator.com/item?id=32624308 ---- I've been using Neovim for several years now. Not for any real reason, other than "Let's try 'new & shiny'" when it first emerged. Last week I thought I'd finally get round to conve…

Couple things. Over the last year, the lua API has expanded. You can now do almost everything with only lua! Autocmds, commands, plugin management - all in lua. Even key-mappings can call lua closures directly! And with treesitter, the strings in `vim.cmd([[...]])` calls get highlighted as vimscript.

Not saying you should give it another go, just that your info is out of date ;)

Re: Neovim 0.8 Released

#42
I've tried using neovim for C++ dev but keep ending back in either vscode with intellisense or YCM on Vim. I don't know if I'm just misconfiguring things but I haven't been able to get autocomplete working correctly. Any tips?

Re: Neovim 0.8 Released

#43
post #42

I've tried using neovim for C++ dev but keep ending back in either vscode with intellisense or YCM on Vim. I don't know if I'm just misconfiguring things but I haven't been able to get autocomplete working correctly. Any tips?

https://github.com/hrsh7th/nvim-cmp should be the ticket

Re: Neovim 0.8 Released

#44
Any neovim based "gtk vim" app on linux?

gVim is so slow for me, can literally see the window text redraw from top to bottom, where sublime text or vscode switching tabs or scrolling is near instantaneous.

Re: Neovim 0.8 Released

#45
post #14

Earlier quoted context omitted.

Telescope is must have for me. https://github.com/nvim-telescope/telescope.nvim

fzf.vim works better, in my subjective opinion, but I haven't configured telescope a lot.

You can change the back-end for telescope so it uses FZF, of FZY or whatever for the filtering. But fzf.vim works a bit better out of the box

Re: Neovim 0.8 Released

#47
post #5

Earlier quoted context omitted.

Neovim is vim 8 compatible. It _also_ supports LUA script for config and plugins, has native LSP support, and runs much more efficiently. You can run your current .vimrc using neovim.

>Neovim ... supports LUA script for config and plugins Except it doesn't really. Or at least it's very basic. I'll re-post a comment I made on this, when it was discussed a while back [0] https://news.ycombinator.com/item?id=32624308 ---- I've been using Neovim for several years now. Not for any real reason, other than "Let's try 'new & shiny'" when it first emerged. Last week I thought I'd finally get round to conve…

I found this very helpful when switching to nvim recently. Kudos to the author for having the nvim config on github and making videos explaining how he set it all up:

https://github.com/LunarVim/Neovim-from-scratch

https://www.youtube.com/watch?v=ctH-a-1eUME&list=PLhoH5vyxr6...

Re: Neovim 0.8 Released

#48
If you use Neovim, can you share why you chose it over VS Code, or one of the new terminal-based editors like https://helix-editor.com/, or new native GUI editors like https://zed.dev/ ?

It's impressive to see what the Neovim community has built — preconfigured setups like https://nvchad.com/ are especially wild. But it still feels like a huge amount of work, hoop jumping, and _fragility_ just to reach parity with VS Code/Helix/Zed, which are pretty great out of the box, and which were built to be used as rich development environments instead of extensible text editors.

I've spent months tweaking Neovim/Emacs configs in the past and I ultimately end up conceding that I'd rather spend that time hacking on projects instead of my editor config. I do feel the pull of these editors, though. I'd love to understand what those who stick with them are doing differently, other than perhaps being more susceptible to sunk cost fallacies. :-)

Re: Neovim 0.8 Released

#49

Neovim is one of those things that seem maybe cool, but I just can't find a reason to switch. Vim works just fine for me, I don't know what I would be getting by switching, and I'd probably waste some time porting my config and workflow to whatever the differences are (I'm a heavy user of :terminal).

I think the selling points are supposed to target plugin authors, and people who like to use a ton of plugins.

However, I would imagine that well over 90% of Vim users don't use a single plugin. At all. They defined some look and feel defaults in a ".vimrc" file 10+ years ago, and never thought about it again. At least that's my user profile, anyway.

So to me, the NeoVim story is mostly Internet drama, about some salty devs who didn't get their patches merged and have been publicly jihading ever since. It's not enough to merely use NeoVim, you have be angry about it.

Post reply on HN