An open API service indexing awesome lists of open source software.

https://github.com/arjuuuuunnnnn/nvim-config

neovim config using vim-plug as Plugin manager
https://github.com/arjuuuuunnnnn/nvim-config

linux neovim vim

Last synced: 9 months ago
JSON representation

neovim config using vim-plug as Plugin manager

Awesome Lists containing this project

README

          

## My NVIM text editor config

**NOTE**: using ```vim plug```

![](image.png)

Create a file named `~/.config/nvim/init.vim`

Then run the below command to install vim-plugin manager

```bash
curl -fLo ~/.var/app/io.neovim.nvim/data/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
```

Now open the file init.vim using `nvim`


And in the command mode
```bash
:PluginInstall
```

Install required dependencies:

```bash
sudo apt-get install exuberant-ctags
sudo apt-get install npm
sudo apt-get install nodejs
sudo apt-get install python3-pip
pip install jedi
```

Now find the `coc.vim` folder, which usually in `~/.config/nvim/plugged/coc.nvim` or `~/.local/share/nvim/plugged/coc.nvim`



Go to that directory
then

```bash
sudo npm install -g yarn
yarn install
yarn build
```



to enable autocomplete for python, c, cpp, web-dev
in the nvim's command mode

```bash
:CocInstall coc-python
:CocInstall coc-json coc-tsserver coc-prettier coc-html coc-css
coc-eslint
:CocInstall coc-clangd
```


To delete any Plugins, remove the Plugin from init.vim file and
```bash
:PlugClean
```