Home Explore Blog CI



neovim

1st chunk of `runtime/doc/intro.txt`
7b3d19951961151abcdc423a0ecce1d3faef6c9c362db8f30000000100000fa2
*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 <Help> or <F1> 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* *register*

Fixing bugs and adding new

Title: Introduction to Nvim Reference Manual
Summary
This section introduces the Nvim reference manual, highlighting its purpose as a comprehensive guide to Nvim editor and API features. It directs beginners to resources like the tutor, Lua guide, and user manual. Additionally, it provides links to Nvim's homepage, recommended learning materials (books, websites), and instructions for reporting bugs or requesting features. The manual also covers installation and uninstallation methods, including downloading pre-built archives, using package managers, or building from source.