This repository contains Neovim config files for both Linux and Windows-based environments.
- I have set basic options like
tabstop
,relative number
, etc., which you can find here. - This also includes fetching two color schemes: catppuccin and material.
Lazy.nvim
is a new plugin manager for Neovim, replacing the now deprecatedpacker
.- The setup file for this plugin is here, and the list of plugins to be installed is mentioned here.
-
Neovim comes with built-in LSP support, enabling features like code suggestions, autocompletions, etc. The setup for this is here.
- Telescope makes navigation, file finding, and searching for keywords in entire projects very easy. The setup is here.
- I've also used the treesitter plugin for syntax highlighting and more.
- Additionally, I've integrated nvimcord to enable Discord Rich Presence in Neovim. This feature enhances collaboration and showcases your activity to others on Discord.
- To update your Discord Rich Presence, open and edit a file in Neovim, then press
Esc
to enter normal mode. Type:nvimcordupdate
, then pressTab
andEnter
to update and display your Rich Presence on Discord.
- This plugin helps to render markdown in terminal itself.
- This helps to understand and take notes easily without opening browser for markdown_preview.
- The background is removed by default. If you want to enjoy your Neovim with a background, simply comment out line 29 here.
-
Ensure you have Neovim
v0.8.0
or higher:nvim --version
-
Ensure you have
NVIM > v0.8.0
-
Install
ripgrep
-
Linux
apt install ripgrep # debian based pacman -S ripgrep # Arch # Baki dekhlo apna apna
-
Windows
scoop install ripgrep
or
Refer this: ripgrep
1. Clone this repo in `.config/nvim`. Create it if not already there with `mkdir .config/nvim`.
mkdir ~/.config/nvim
cd ~/.config/nvim
git clone "https://github.com/hail0hydra/gardua_nvim_dotfs" .
- Run nvim
nvim
- Make sure you have make and gcc installed.
- ensure fzf is installed as well
scoop install gcc make fzf
- Navigate to
%USERPROFILE%\AppData\Local\
and ensure the presence ofnvim
directory (not to be confused withnvim-data
directory).
cd "%USERPROFILE%\AppData\Local\"
- If
nvim
directory isn't there make it and navigate into it
mkdir nvim
cd nvim
3. Clone the github repo.
git clone "https://github.com/hail0hydra/gardua_nvim_dotfs" .
4. Run nvim
nvim
- To use dicord presence as in vscode, just go here and uncomment the file. Make sure discord is on before opening nvim.
-
To use Markdown Preview you can run
:call mkdp#util#install()
in any file just once. -
This function is already mapped to
<F5>
.