Skip to content

NvChad 3.0 based neovim config with webdev, python, C++, Rust etc. support

License

Notifications You must be signed in to change notification settings

Suryansh-Dey/neovim-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UI

Supported languages

Python HTML CSS JavaScript TypeScript C++ The Rust Programming Language: A language empowering everyone to build reliable and efficient software Rust Lua

Markdown, JSON

Pre-requisites

Same as Pre-requisites of NvChad

Installation

Run the following command in your terminal

Linux
Clean cache of old setup
rm -rf ~/.local/state/nvim
rm -rf ~/.local/share/nvim
mv ~/.config/nvim ~/.config/nvim-backup
mv ~/.local/share/nvim ~/.local/share/nvim-backup
git clone https://github.com/Suryansh-Dey/neovim-config.git ~/.config/nvim && nvim
Windows In powershell
Clean cache of old setup
rm -Force $HOME\AppData\Local\nvim-data
mv $HOME/AppData/Local/nvim $HOME/AppData/Local/nvim-backup
mv $HOME/AppData/Local/nvim-data $HOME/AppData/Local/nvim-data-backup
git clone https://github.com/Suryansh-Dey/neovim-config.git $HOME/AppData/Local/nvim && nvim

mv commnds might raise error if no nvim config file is already there but ignore that. Following command will still do the job!
Now run :MasonInstallAll command in neovim
All done!!

Tip to find a keybinding

Go to ~/.config/nvim/lua/mappings.lua, and search for the action. You will probably get it's corresponding keybinding here.

OR just google or chatGPT like: what is the NVChad keymap for opening terminal. (Answer: A-i for fullscreen and A-v or A-h for verticle and horizontal terminal)

If you need some feature which is not available in NVChad by default, check ~/.config/nvim/lua/plugins/init.lua with chatGPT. Probably you do have a plugin to get you cover. For eg. run :MarkdownPreview to preview markdown, thanks to "iamcco/markdown-preview.nvim" plugin.

NVChad's default keymap changes

  1. Ctrl-n -> Alt+f for file tree
  2. <leader>v and <leader>h was removed. Just use <A-v> and <A-h>.

NOTE: The 'f' motion is remapped to leap-forward of leap plugin. Just use 't' motion or 'f' with just one extra letter making you sure about the motion!

nvim-surround remaps

Since s is used for leap-backward, following remaps were done:

{
normal = "<leader>s", --"ys"
normal_cur = "<leader>ss", --"yss"
normal_line = "<leader>S", --"yS"
normal_cur_line = "<leader>SS", --"ySS"
delete = "d<leader>", --"ds"
change = "c<leader>", --"cs"
}

nvim-tree remaps

  1. f -> <leader>f since f is used for leap-forward
  2. s -> <leader>s since s is used for leap-backward

Daily usage

Refer to the wiki tab to know how I use it to be blazingly fast!

Releases

No releases published

Packages

No packages published

Languages