Giter VIP home page Giter VIP logo

neovim_config's Introduction

Prerequisites

Open your powershell with Admin previliges and copy the commands and run on your power shell terminal

 Get-ExecutionPolicy

 Set-ExecutionPolicy AllSigned
 
 Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))

 choco install neovim -y


Now add path to environment vriables

The path to be added in the environment variables:

C:\ProgramData\chocolatey\

The path for configuration files C:\Users\YourUsername\AppData\Local\nvim\init.vim

Create a folder 'nvim' in this location

C:\Users\YourUser Name\AppData\Local\

Example:

C:\Users\YourUserName\AppData\Local\nvim

Vim Plugs

Install Plugins

Open your Powershell and run this command. try to run powershell with Admin Privileges

Run this in your power shell

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

Now open nvim folder you created earlier and create a file init.vim and Inside nvim create autoload folder and inside autoload folder create another folder plugged

or simply open your powershell

navigate to the nvim folder by using "cd"command

cd C:\Users\YourUserName\AppData\Local\nvim

Now type the command

nvim init.vim

Now copy the code from here now press i in keyboard to be in insert mode and paste that code here and click 'ESC' button and ':wq' button to save and exit the file

Now create a folder called autoload and plugged

cd C:\Users\YourUserName\AppData\Local\nvim
mkdir autoload/plugged

If we Want to add Other plugins

open init.vim file and do this

How to Add Plugins

call plug#begin('C:\Users\YourUsername\AppData\Local\nvim\autoload\plugged')

Plug 'https://github.com/scrooloose/nerdtree'

call plug#end()

we need to add the Plugins Between call plug#begin and call plug#end. After Plug we need to place the ' link'

Install autocomplete intellisense and other plugins in neovim

if you clone my repository in the nvim folder in this loction "C:\Users\YourUserName\AppData\Local\nvim"

YourUserName = username

you just need to open your powershell and type nvim

and nvim opens here

now you need to type

:PlugInstall

after installing the files you need to press ":q!"

if you want to install some more plugins from COC open nvim and follow

:CocInstall coc-pluginname

You can install multiple autocompletion plugins using coc by just looking up for them on the internet. Some of my favorites are:

coc-tabnine coc-tsserver coc-json coc-tabnine coc-python coc-java

Install neovide

copy the commands and paste in your Terminal

Set-ExecutionPolicy RemoteSigned -scope Currentuser
iwr -useb get.scoop.sh | iex
scoop install git
scoop bucked add extras https://github.com/ScoopInstaller/Extras
scoop install neovide

Nerd fonts website

This is the configuration i've reffered to make this neovim

neovim_config's People

Contributors

yaswanthteja avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.