May 2018
Intermediate to advanced
168 pages
4h 2m
English
| Tip 22 | Using an Existing nvim Instance as the Preferred Editor |

Some command-line programs may invoke a text editor so that the user can compose a message. By convention, the $VISUAL environment variable is used to specify the users’ preferred text editor. If you configure nvim as your preference, then it’s easy to accidentally launch nested instances of Neovim. It’s preferable if you can use an existing instance of Neovim, rather than starting a new one. You can set this up using neovim-remote.
Command-line programs that require input from the user may give the option of opening a temporary file in a text editor. When you save and ...