# Usage
git clone https://github.com/potatochick2020/nvim-config ~/.config/nvim
git clone --depth 1 https://github.com/wbthomason/packer.nvim ~/.local/share/nvim/site/pack/packer/start/packer.nvim
Run :PackerSync
inside nvim
curl -LO https://github.com/BurntSushi/ripgrep/releases/download/13.0.0/ripgrep_13.0.0_amd64.deb
sudo dpkg -i ripgrep_13.0.0_amd64.deb
cp ./gitui_theme.ron ~/.config/gitui/theme.ron
cp ./kitty ~/.config/kitty/kitty.conf
cp ./i3 ~/.config/i3/config
cp ./picom ~/.config/picom/picom.conf
feh --bg-fill ~/wallpaper.png
git clone --depth=1 https://github.com/ryanoasis/nerd-fonts
cd nerd-fonts
./install.sh Hack
Key mapping/ Common key usage until now:
<F5>
to navigate nvim tree (File explorer)<A-h>/<A-j>/<A-k>/<A-l>
to navigate between window, nvim tree count as a window too<C-q>/<C-e>
to navigate between buffer in bufferline (similar to tabs in vs code)- Disable arrow key in normal mode and insert mode, use
<C-h>/<C-j>/<C-k>/<C-l>
to navigate in insert mode - press a in normal mode to enter insert mode with cursor being after the current char
- space as leader key, space + fg/ff/fb/fh for telescope
<F6>
to navigate undo tree<F4>
to navigate markdown preview, to close<S-t>
Toggle terminal<S-g>
Toggle terminal with gitui
The version in debian-based apt repository is v0.6.1 which as at 2023 July, the most update version is v0.9.1 for stable release.
Windows and Mac are Case - Insensitive file system by default, and Linux are Case - Sensitive, it might leads to some issues
In nvim normal mode type :help vimrc-intro
It state the 2 default file path
- ~/.config/nvim/init.vim (Unix and OSX)
- ~/AppData/Local/nvim/init.vim (Windows)