Forrest logo
back to the <Esc>i tool

nvim:tldr:f7dac

nvim: Enter text editing mode (insert mode).
$ i
try on your machine
i is a Vim command that allows you to start inserting text at the current cursor position in normal mode. In Vim, the key is used to switch from insert mode or command-line mode back to normal mode. When you enter i in normal mode, you are essentially switching briefly to insert mode to insert text at the current cursor position, and then immediately returning to normal mode. This command is useful when you want to quickly enter some text at the current position without leaving normal mode entirely. It is commonly used, for example, to correct or add small pieces of text during editing without disrupting your workflow.
This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the <Esc>i tool