How I setup my nvim | Debian 12

I use this preconfigure nvim config: https://github.com/NeuralNine/config-files/blob/master/init.vim
1. Install neovim 

sudo apt install neovim git-core curl

2. Create nvim directory under .config and paste the neovim preconfiguration from NeuralNine to init.vim

/home/username/.config/nvim/init.vim

3. Install nvim plug in directory (https://github.com/junegunn/vim-plug) /home/username/.config/nvim:

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'

4. once install nvim-plug, proceed to access nvim and install plug:

:PlugInstall

5. Install exuberant-ctags:

sudo apt install exuberant-ctags

6. Install nodejs:

sudo apt install nodejs

7. Install npm:

sudo apt install npm

8. Navigate to /home/username/.local/share/nvim/plugged/coc.nvim and install:

sudo npm install -g yarn

9. Install yarn

yarn install && yarn build

Add new comment