This repository contains my personal configuration files for Neovim based on ThePrimeagen's configuration.
For clipboard and some plugins to work:
Neovim
>= 0.9nodejs
>= 14.14 (must includenpm
)xclip
ripgrep
In Arch Linux:
doas pacman -S neovim xclip ripgrep npm
Make a folder the nvim
folder under $HOME/.config/
. Then, clone this repository locally and paste lua/
and after/
folders there.
mkdir "$HOME/.config/nvim" \
tempdir=$(mktemp -d) \
git clone https://github.com/davnpsh/nvim-config.git "$tempdir" \
cp -r "$tempdir/lua" "$tempdir/after" "$HOME/.config/nvim" \
rm -r "$tempdir"
For Linux, install packer.nvim
:
git clone --depth 1 https://github.com/wbthomason/packer.nvim\
~/.local/share/nvim/site/pack/packer/start/packer.nvim
Open Neovim, ignore errors and execute :PackerSync
. Finally, close and reopen Neovim.
These are the plugins I currently use (this list may be outdated, check lua/davnpsh/packer.lua
for an updated version):
Current plugin manager.
For grepping strings and recent files.
Catppuccin theme.
Better highlightning.
It can be treated as a dependency, but it is better to install it and let it have its own folder.
Statusline.
Just a simple indent line when tabbing.
For LSP and extensions.
I use these:
coc-pairs
for autopairs.- Language servers like
tssserver
.
For editing markdown.
Having a tree of folders and files is nice.