nvim Command Examples

Neovim, a programmer's text editor based on Vim, provides several modes for different kinds of text manipulation. Pressing <i> in normal mode enters insert mode. <Esc> or <Ctrl c> goes back to normal mode, which doesn't allow regular text insertion. See also: vim, vimtutor, vimdiff. More information: https://neovim.io.

nvim {{path/to/file}}

<Esc><i>

<Esc>{{<y><y>|<d><d>}}

<Esc><u>

<Esc></>{{search_pattern}}<Enter>

<Esc><:>%s/{{regular_expression}}/{{replacement}}/g<Enter>

{{<Esc><Z><Z>|<Esc><:>x<Enter>|<Esc><:>wq<Enter>}}

<Esc><:>q!<Enter>