Live data from Hacker News

Neovim v0.4.0

github.com

11–20 of 168 posts

Re: Neovim v0.4.0

#11
post #2

> nvim_open_win: create floating windows (and external, for supporting UIs) I've been running 0.4.0 since it came out for this feature. Also I recommend you check out coc.vim for the best completer. It uses the same language server protocol that VS Code uses (and many of the plugins for coc.vim are forked fr VS Code plugins)

Now coc+ccls is the best vim plugin for C/C++. Though compared to Eclipse/CDT, several features still missed, e.g. step-by-step macro expansion.

Re: Neovim v0.4.0

#13

I'll just leave a shameless plug for my neovim GUI project here: https://github.com/vhakulinen/gnvim . It has a WIP PR[1] for implementing multigrid support, which would allow features such as scrollbars. There are many other GUIs too, such as oni/oni2, gonvim, neovim-gtk and neovim-qt. Extensive list can be found here: https://github.com/neovim/neovim/wiki/Related-projects#gui 1: https://github.com/vhakulinen/gnvim/…

Both neovim-gtk & gnvim are great but don't integrate nicely with standard ctrl + c, ctrl + v actions which is super frustrating.

VSCode with vim plugin handles this well with the Use Ctrl Keys option set. If you're in insert mode, ctrl + v will paste, otherwise ctrl + v will start visual mode. If you are selecting text, ctrl + c will copy.

Re: Neovim v0.4.0

#14
post #13

I'll just leave a shameless plug for my neovim GUI project here: https://github.com/vhakulinen/gnvim . It has a WIP PR[1] for implementing multigrid support, which would allow features such as scrollbars. There are many other GUIs too, such as oni/oni2, gonvim, neovim-gtk and neovim-qt. Extensive list can be found here: https://github.com/neovim/neovim/wiki/Related-projects#gui 1: https://github.com/vhakulinen/gnvim/…

Both neovim-gtk & gnvim are great but don't integrate nicely with standard ctrl + c, ctrl + v actions which is super frustrating. VSCode with vim plugin handles this well with the Use Ctrl Keys option set. If you're in insert mode, ctrl + v will paste, otherwise ctrl + v will start visual mode. If you are selecting text, ctrl + c will copy.

You can create mappings for that.

Adding a bazillion one-off options like "Use Ctrl Keys" to avoid creating mappings, defeats the purpose of using vim, since creating mappings is the bare minimum way to configure it. (But Vim did so anyways for Windows, in the form of the "mswin.vim" plugin, which is enabled by default, causing confusion for users expecting vim to behave like vim.)

Re: Neovim v0.4.0

#15
post #12

What are the most notable improvements over vim that the authors of neovim speak of? https://neovim.io

I have been running it for quite a few months and there are two improvements that I can think of:

1) In visual mode you have a block cursor and in insert mode it is a |.

2) With ':set inccommand=nosplit' you get live previews for substitution calls. For example :%s/foo/bar/ will update your foos on screen whilst you type the command.

Otherwise it is pretty much a drop-in replacement without issues.

Re: Neovim v0.4.0

#16
post #13

I'll just leave a shameless plug for my neovim GUI project here: https://github.com/vhakulinen/gnvim . It has a WIP PR[1] for implementing multigrid support, which would allow features such as scrollbars. There are many other GUIs too, such as oni/oni2, gonvim, neovim-gtk and neovim-qt. Extensive list can be found here: https://github.com/neovim/neovim/wiki/Related-projects#gui 1: https://github.com/vhakulinen/gnvim/…

Both neovim-gtk & gnvim are great but don't integrate nicely with standard ctrl + c, ctrl + v actions which is super frustrating. VSCode with vim plugin handles this well with the Use Ctrl Keys option set. If you're in insert mode, ctrl + v will paste, otherwise ctrl + v will start visual mode. If you are selecting text, ctrl + c will copy.

set clipboard+=unnamedplus

imap +

vmap y

Most probably you want this as well:

cmap +

Re: Neovim v0.4.0

#17
post #12

What are the most notable improvements over vim that the authors of neovim speak of? https://neovim.io

The only reason Neovim project exists in the first place is to act as a safeguard against the bus factor issues that might arise in the Vim proper.

Re: Neovim v0.4.0

#18
post #6
post #3

Earlier quoted context omitted.

Are there any screenshots? What exactly is a "floating window"?

Floating windows: - Are real windows showing real buffers. No shortcuts, hacks, or compromises. - Can be (re)positioned, anchored, or "external" (if supported by the UI). - Support all features and API of normal windows, plus more. Screenshot showing floating window with 'winblend': https://twitter.com/Neovim/status/1145446583573594112 Yes, that screenshot shows Nvim in a terminal. The 'winblend' feature works in all…

Just to make sure I understand correctly, that floating window is entirely within neovim (i.e. it isn't a separate window as far as your window manager is concerned)? And if that's correct, does this mean that it would work if you SSHed into a server?
Post reply on HN