Skip to content


[[nvim]] setup.

Setup [[zsh]] or [[bash]] first.

nvim installation

# get the latest appimage
curl -LO
chmod u+x nvim.appimage

# if the appimage does not work,
# install fuse
sudo apt install fuse
# or extract the image
./nvim.appimage --appimage-extract
./squashfs-root/AppRun --version

# Optional: exposing nvim globally.
sudo mv squashfs-root /
sudo ln -s /squashfs-root/AppRun /usr/bin/nvim


LazyVim is a Neovim setup powered by 💤 lazy.nvim to make it easy to customize and extend your config.


  • nvim >= 0.9.0
  • git >= 2.19.0
  • nerdfont v3.0+
  • lazygit
  • gcc and libstdc++6 in case of debian for tree-sitter
  • ripgrep and fd-find in case of debian for telescope
  • unzip for mason to install things such as stylua
sudo apt install git gcc libstdc++6 ripgrep fd-find unzip

# lazygit for ubuntu? works for debian as well?
LAZYGIT_VERSION=$(curl -s "" | grep -Po '"tag_name": "v\K[^"]*')
curl -Lo lazygit.tar.gz "${LAZYGIT_VERSION}_Linux_x86_64.tar.gz"
tar xf lazygit.tar.gz lazygit
sudo install lazygit /usr/local/bin


mkdir -p .config/nvim
git clone ~/.config/nvim
rm -rf ~/.config/nvim/.git

plugins and options

  • add catppuccin gruvbox color theme
  • add FTerm (requires $SHELL) - learnt that lazyvim has terminal by default (ctrl+/)
  • disable "s" keymap used by flash from lazyvim default
  • add vim-fugitive
  • add colorizer
  • change width of neo-tree
  • add obsidian