/nvim_config

Neovim configuration for programming. Supports Linux, Windows and Mac.

Primary LanguageVim Script

nvim config

Screen Android

nvim-android

Screen Linux

nvim

Screen Windows

nvim-win

Install Neovim

https://github.com/neovim/neovim/wiki/Installing-Neovim

Install dependency package

pip install pynvim
nodejs

Install config

git clone https://github.com/sauravj7/nvim_config ~/.config/nvim

# For Windows
git clone https://github.com/sauravj7/nvim_config  C:\Users\[USER NAME]\AppData\Local\nvim

Edit Config (only for Windows)

## File nvim/init.vim

change all ~/.config to ~/AppData/Local

# For example
change source ~/.config/nvim/general/settings.vim
to     source ~/AppData/Local/nvim/general/settings.vim


## File nvim/vim-plug/plugins.vim

change call plug#begin('~/.config/nvim/autoload/plugged')
to     call plug#begin('~/AppData/Local/nvim/autoload/plugged')


## File plug-config/start-screen.vim

change line 3 let g:startify_session_dir = '~/.config/nvim/session'
to            let g:startify_session_dir = '~/AppData/Local/nvim/session'

Install Plugins

# Open Neovim
nvim

# Install all of your plugins (restart neovim after this step)
:PlugInstall 

# Install coc extensions as you like 
:CocInstall coc-clangd coc-json coc-java coc-cmake coc-python

Full List of Extension

Custom Mapping

gr (codefix)
gd (go to definition)
gr (rename symbol)
gf (format current file)
K  (for documentation)

alt + hjkl to resize window.
ctrl + hjkl for window navigation.

ctrl + n to redraw status bar.

jk and kj for "ESC"

space (leader key).

Plugins Included

Gruvbox
Startify
Nerdtree
Airline
Auto Pairs
Cpp Highlight
Signify
Unimpaired
Which Key
Devicons
COC