This version of config started from LazyVim v14.x, and the main change is to replace snacks
with telescope
for searching files.
My Neovim config files started from LazyVim. Refer to the documentation to get started. Press Space + L, and U to update plugins.
For Windows
git clone [email protected]:elithrade/nvim-lazy-v2.git $env:LOCALAPPDATA\nvim
For Linux
git clone [email protected]:elithrade/nvim-lazy-v2.git ~/.config/nvim
Below you can find OS specific install instructions for Neovim and dependencies.
Windows with Microsoft C++ Build Tools and CMake
Installation may require installing build tools and updating the run command for `telescope-fzf-native`See telescope-fzf-native
documentation for more details
This requires:
- Install CMake and the Microsoft C++ Build Tools on Windows
{'nvim-telescope/telescope-fzf-native.nvim', build = 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build' }
Windows with gcc/make using chocolatey
Alternatively, one can install gcc and make which don't require changing the config, the easiest way is to use choco:- install chocolatey either follow the instructions on the page or use winget, run in cmd as admin:
winget install --accept-source-agreements chocolatey.chocolatey
- install all requirements using choco, exit previous cmd and open a new one so that choco path is set, and run in cmd as admin:
choco install -y neovim git ripgrep wget fd unzip gzip mingw make
WSL (Windows Subsystem for Linux)
wsl --install
wsl
sudo add-apt-repository ppa:neovim-ppa/unstable -y
sudo apt update
sudo apt install make gcc ripgrep unzip neovim
Ubuntu Install Steps
sudo add-apt-repository ppa:neovim-ppa/unstable -y
sudo apt update
sudo apt install make gcc ripgrep unzip neovim
- ripgrep, is required for live_grep and grep_string and is the first priority for find_files.
- On Linux,
fd
might cause issues with telescope-file-browser, I removedfd
from my WSL2 at work.
See comment here
- Custom colorscheme defined in colorscheme.lua
- Add telescope-file-browser.nvim extension and remapped default keys. Most telescope-file-browser keys starts with
;
,sf
to open telescope-file-browser. - Suppress "No information available" notification in noice.nvim.
- Add a border to hover over documentation when press Shift + K.
- Change default notification timeout to 10 seconds.
- Disabled flash.nvim
- Disabled "o" and ">" mapping to launch file default system application.
- Disabled nvim-neo-tree/neo-tree.nvim plugin.
- Added a scroll animation for fun.
- Added few coding related plugins.