Skip to content

BrendanGlancy/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neovim Configuration Guide

This guide provides detailed instructions for installing, updating, and uninstalling NvChad for Neovim, along with additional setup for dotfiles for nvim + zsh.

Prerequisites

Before proceeding with the installation, ensure the following prerequisites are met:

  • Neovim 0.9.0: The latest version of Neovim.
  • Nerd Font: Use a Nerd Font as your terminal font. Avoid fonts ending with 'Mono' to prevent small icons (e.g., use JetbrainsMono Nerd Font, not JetbrainsMono Nerd Font Mono).
  • Ripgrep (Optional): Required for grep searching with Telescope.
  • GCC: Windows users must have mingw installed and set on the path.
  • Clang: If you want to use the formatting and debugger tools.
  • Make: Windows users should have GnuWin32 installed and set on the path.
  • Delete Old Neovim Folder: Remove any previous installations of Neovim (see commands below).

Installation

Linux / MacOS

  1. Delete the old Neovim folder:

    rm -rf ~/.config/nvim
    rm -rf ~/.local/share/nvim
  2. Install Neovim

    brew install neovim # for MacOS
    sudo apt install neovim # for Linux
  3. Delete your old configuation

Linux / MacOS (Unix)

rm -rf ~/.config/nvim
rm -rf ~/.local/share/nvim
rm -rf ~/.config/kitty
rm -rf ~/.config/neofetch

Windows

rd -r ~\AppData\Local\nvim
rd -r ~\AppData\Local\nvim-data
  1. Clone the repo
git clone https://github.com/BrendanGlancy/dotfiles.git ~/.config/ --depth 1 && nvim

Common Commands

gD = go to declaration
gd = go to definition
gi = implementation
ff = find files
fw = rip grep
fs = grep
K = definition

Change Clangd format

~/.local/share/nvim/mason/bin/clang-format --style Google --dump-config > .clang-format

Helpful link to find lspconfigs

About

My vimrc settings, except I am using neovim now

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published