Neovim Cheat Sheet
Posted on October 2, 2022 (Last modified on April 3, 2024) • 1 min read • 109 words
Neovim is a highly customizable VIM-based text editor. Runs on Linux, macOS, & Windows
Instructions for installing Neovim can be found at https://Neovim.io
Using a terminal type nvim followed by the file name. A new file will be created if it doesn’t already exist.
nvim example.txt
| Key Command | Description |
|---|---|
| esc | Escape Mode |
| i | Insert Mode |
| : | Commandline Mode |
| h | Move Cursor Left |
| j | Move Cursor Up |
| k | Move cursor Down |
| l | Move Cursor Left |
| :w | Save |
| :q | Quit |
| esc+u | Undo |
| dw | Delete Word |
| dd | Delete Entire Line |
| p | Paste Last Deleted Word or Line |
| r+key | Replace Any Character |