Few Neovim only features and tricks without any plugins.
In this article let’s go through a few Neovim only features which I find useful.
Show Effects of a Command Incrementally
:h icm to read the help of this command.
This is a global option and by default, it is set to blank.
Possible values are
nosplit: Shows the effects of a command incrementally, as you type.
split: Also shows partial off-screen results in a preview window.
Works for |
:set icm=split and now try to perform text substitution.
A preview window is displayed to show you the live substitution result. You can press
Escape to cancel it.
:set icm=nosplit and now try to perform text substitution.
As you type you can see the substitution effect directly in the buffer. You can press
Escape to cancel the command.
Send LSP Diagnostics to Quickfix Window
Latest Neovim supports LSP natively. With this, you can configure the LSP to send diagnostics to the quick fix window.