This is my personal Neovim configuration. It includes several plugins for code editing and custom key mappings.
- Install Neovim on your system. Instructions for various operating systems can be found here.
- Install a plugin manager. I use vim-plug. Instructions for installing vim-plug can be found in its GitHub repository.
- Clone this repository and copy the
init.vimfile to your Neovim configuration directory. For example, on Unix systems this is usually~/.config/nvim/. - Open Neovim and run the
:PlugInstallcommand to install the plugins listed in theinit.vimfile. - Restart Neovim.
The following plugins are included in this configuration:
- NerdTree: A file system explorer for Neovim.
- vim-prettier: A plugin for running the Prettier code formatter in Neovim.
- coc.nvim: A plugin for providing Intellisense and code completion.
- TokyoNight: A color scheme for Neovim.
- UltiSnips: A plugin for creating and using code snippets in Neovim.
- To open the file explorer, press
Ctrl-n. - To format a file using Prettier, run the
:Prettiercommand. - To use code completion and other features provided by coc.nvim, refer to its documentation.
- To switch to the TokyoNight color scheme, add the following line to your
init.vimfile:colorscheme tokyonight. - To use UltiSnips, type a snippet trigger and press
Tabto expand the snippet.
For more information on this configuration, see the comments in the init.vim file.
This configuration is released under the MIT License.