Few Neovim only features and tricks without any plugins.
Overview
In this article let’s go through a few Neovim only features which I find useful.
Show Effects of a Command Incrementally
Type :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 |:substitute
|, |:smagic
|, |:snomagic
|. |hl-Substitute
|
split
Type :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.
nosplit
Type :set icm=nosplit
and now try to perform text substitution.