*intro.txt* Nvim NVIM REFERENCE MANUAL Nvim *ref* *reference* Type |gO| to see the table of contents. ============================================================================== Introduction *intro* Vim is a text editor which includes most commands from the Unix program "Vi" and many new ones. An overview of this manual can be found in the file "help.txt", |help.txt|. It can be accessed from within Vim with the or key and with the |:help| command (just type ":help", without the bars or quotes). The 'helpfile' option can be set to the name of the help file, in case it is not located in the default place. You can jump to subjects like with tags: Use CTRL-] to jump to a subject under the cursor, use CTRL-T to jump back. *pronounce* Vim is pronounced as one word, like Jim. So Nvim is "En-Vim", two syllables. This manual is a reference for all Nvim editor and API features. It is not an introduction; instead for beginners, there is a hands-on |tutor|, |lua-guide|, and |user-manual|. ------------------------------------------------------------------------------ Resources *resources* *internet* *www* *distribution* Nvim home page: https://neovim.io/ *book* There are many resources to learn Vi, Vim, and Nvim. We recommend: - "Practical Vim" by Drew Neil. Acclaimed for its focus on quickly learning common editing tasks with Vim. - "Modern Vim" by Drew Neil. Explores new features in Nvim and Vim 8. - https://vimcasts.org/publications/ - "Vim - Vi Improved" by Steve Oualline. This was the first book dedicated to Vim. Parts of it were included in the Vim user manual. |frombook| ISBN: 0735710015 - For more information try one of these: - https://iccf-holland.org/click5.html - https://www.vim.org/iccf/click5.html - Vim FAQ: https://vimhelp.org/vim_faq.txt.html *bugs* *bug-report* *feature-request* Report bugs and request features here: https://github.com/neovim/neovim/issues Be brief, yet complete. Always give a reproducible example and try to find out which settings or other things trigger the bug. If Nvim crashed, try to get a backtrace (see |dev-tools-backtrace|). ============================================================================== Installing Nvim *install* *download* *upgrade* *ubuntu* To install or upgrade Nvim, you can... - Download a pre-built archive: https://github.com/neovim/neovim/releases - Use your system package manager: https://github.com/neovim/neovim/blob/master/INSTALL.md#install-from-package - Build from source: https://github.com/neovim/neovim/blob/master/INSTALL.md#install-from-source ------------------------------------------------------------------------------ Un-installing Nvim *uninstall* To uninstall Nvim: - If you downloaded a pre-built archive or built Nvim from source (e.g. `make install`), just delete its files, typically located in: > /usr/local/bin/nvim /usr/local/share/nvim < - To find where Nvim is installed, run these commands: > :echo v:progpath :echo $VIMRUNTIME < - If you installed via package manager, read your package manager's documentation. Common examples: - APT (Debian, Ubuntu, …): `apt-get remove neovim` - Homebrew (macOS): `brew uninstall neovim` - Scoop (Windows): `scoop uninstall neovim` ============================================================================== Sponsor Vim/Nvim development *sponsor* Fixing bugs and adding new features takes a lot of time and effort. To show your appreciation for the work and motivate developers to continue working on Vim please send a donation. The money you donated will be mainly used to help children in Uganda. See |uganda|. But at the same time donations increase the development team motivation to keep working on Vim! For the most recent information about sponsoring look on the Vim web site: https://www.vim.org/sponsor/ Nvim development is funded separately from Vim: https://neovim.io/#sponsor ============================================================================== Bram Moolenaar *Bram* *Moolenaar* *Bram-Moolenaar* *brammool* Nvim is a fork of the Vim ("Vi IMproved") text editor, which was originally developed by Bram Moolenaar. Searching his name within the source code of Nvim will reveal just how much of his work still remains in Nvim. On August 3, 2023, he passed away at the age of 62. If Vim or Nvim have been of use to you in your life, please read |Uganda| and consider honoring his memory however you may see fit. - Obituary Articles: https://github.com/vim/vim/discussions/12742 - Say Farewell: https://github.com/vim/vim/discussions/12737 ============================================================================== Keycodes *key-notation* *key-codes* *keycodes* These names for keys are used in the documentation. They can also be used with the ":map" command. notation meaning equivalent decimal value(s) ~ Zero CTRL-@ 0 (stored as 10) ** Backspace CTRL-H 8 *backspace* Tab CTRL-I 9 *tab* *Tab* *linefeed* Linefeed CTRL-J 10 (used for ) Carriage return CTRL-M 13 *carriage-return* Same as ** Same as ** Escape CTRL-[ 27 *escape* ** Space 32 *space* Less-than < 60 ** Backslash \ 92 *backslash* ** Vertical bar | 124 ** Delete 127 Command sequence intro ALT-Esc 155 ** End-of-line (can be , or , Depends on system and 'fileformat') ** Cancel wait-for-character ** Do nothing (no-op). Useful in mappings. ** is a key, is "absence of a key". Cursor-up *cursor-up* *cursor_up* Cursor-down *cursor-down* *cursor_down* Cursor-left *cursor-left* *cursor_left* Cursor-right *cursor-right* *cursor_right* Shift-cursor-up Shift-cursor-down Shift-cursor-left Shift-cursor-right Control-cursor-left Control-cursor-right - Function keys 1 to 12 *function_key* *function-key* - Shift-function keys 1 to 12 ** Help key Undo key Find key