This repository contains my configuration files for Neovim.
Ensure that you have Neovim installed on your system.
- On Windows:
Download and install the latest release from the official website - On Linux:
You can typically install Neovim using your package manager. For example, on Debian-based systems:Or in Arch-based (btw) systems:sudo apt-get install neovim neovim-qt
sudo pacman -S neovim neovide
Clone this repository to the appropriate configuration directory for Neovim:
- On Windows:
git clone https://github.com/nhktmdzhg/nvim.git .\AppData\Local\nvim
- On Linux:
git clone https://github.com/nhktmdzhg/nvim.git ~/.config/nvim
Ensure that you have node.js
and python
installed on your system. These are necessary for some of the Neovim plugins to function correctly.
- On Windows: Download and install the latest release from the official website
- On Linux: You can typically install Node.js using your package manager. For example, on Debian-based systems:
Or in Arch-based (btw) systems:
sudo apt-get install nodejs npm
sudo pacman -S nodejs npm
- On Windows: Download and install the latest release from the official website
- On Linux: You can typically install Python using your package manager. For example, on Debian-based systems:
Or in Arch-based (btw) systems:
sudo apt-get install python3
sudo pacman -S python
After installing node.js and python, you need to install the providers:
- For
node.js
:- On Windows:
npm install -g neovim
- On Linux:
sudo npm install -g neovim
- For
python
:- On Windows:
pip install pynvim
- On Linux: You can typically install the
pynvim
package using your package manager. For example, on Debian-based systems:
Or in Arch-based (btw) systems:sudo apt-get install python3-pynvim
sudo pacman -S python-pynvim
- On Windows:
iwr -useb https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim |` ni "$(@($env:XDG_DATA_HOME, $env:LOCALAPPDATA)[$null -eq $env:XDG_DATA_HOME])/nvim-data/site/autoload/plug.vim" -Force
- On Linux:
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
Start Neovim by running the following command:
nvim
Then run the following command to install the plugins:
:PlugInstall
To enable autocompletion and other language features, you need to install the language extensions for CoC.
For example, to install an extension for C/C++ (you need to have clangd
installed on your system):
:CocInstall coc-clangd
You can find list of available extensions on the CoC Extensions Wiki.
After completing the above steps, your Neovim setup should be ready to use. You can customize further according to your needs.
The following are some useful resources for learning more about Neovim and the plugins used in this configuration. You can refer to these resources for more information on how to customize your Neovim setup.
- Neovim Documentation
- vim-plug Github
- CoC.nvim GitHub
- substrata.nvim GitHub
- bufferline.nvim GitHub
- NERDTree GitHub
- nerdtree-git-plugin GitHub
- vim-devicons GitHub
- vim-nerdtree-sync GitHub
- vim-nerdtree-syntax-highlight GitHub
- wilder.nvim GitHub
- fzf GitHub
- fzf.vim GitHub
- vim-airline GitHub
- vim-airline-themes GitHub
- vim-floaterm GitHub
- auto-pairs GitHub
- emmet-vim GitHub
- nerdcommenter GitHub
- vim-lsp-cxx-highlight GitHub
- java-syntax.vim GitHub
- vim-polyglot GitHub
- semshi GitHub
- vimspector GitHub
- vim-fugitive GitHub
- vim-rhubarb GitHub
- vim-gitgutter GitHub
- vim-mergetool GitHub
- SimpylFold GitHub
- Github Copilot
Happy coding!