Neovim ultimate Web Dev Setup with vim plug on windows

Abipravi
3 min readNov 30, 2021

--

How to make an ultimate setup in neovim with dir tree and code autocomplete

first install `nvim` and go the `nvim` folder

for windows:

c:\users\appdata\local\nvim

If there is no nvim folder then create one with name nvim

Now let us code the plugin and setup the environment

Now create an file name init.vim inside the nvim folder

and also create a folder named autoload and create an new file named plug.vim

and add the following code into the plug.vim file

https://gist.github.com/pravee42/f12d4425d781eb61d7713f66da2bb6b0

after added the code into the plug.vim

move out of the directory and go back to the nvim folder

inside the nvim folder open the file named init.vim and paste the following code

Yes we have completed the 90 percentage of the code and there is only few thing to do with the init.vim

after that go to the init.vim

go the command mode and type :PlugInstall

now you can see the plugins are installing

Yes we have installed close and open vim again now you see the some of the power have been updated to neovim

Ok but we havent still completed

now to the plugged folder inside the nvim folder there you can see that there is an coc.nim folder

there you can just type

yarn install
npm i
npm run build
yarn build

(NOTE: before this setup make sure that node js is installed on your system then only it will work)

after installing again close the nvim and open it now you can see that the auto completion is working fine

and also we have added some of the shortcuts

ctrl + s -> save the file

ctrl + k -> Prettier auto code formatter

ctrl + t -> directory tree on the left side

ctrl + f -> To focus on the nred tree while working in the file

Finally we have completed the neovim setup

We have made it

Thanks

If You like this post make sure you follow us on

Instagram

Twitter

Linked In

BlogPost

--

--

Abipravi
0 Followers

Founder and CEO of Abipravi. Reactjs expert and Django developer. Intrested in artifical intellegence and Web development. Blogging and Teaching in youtube🔥🔥