Skip to content

t1gu1/nvchad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NvChad Customised

Important Note

Since the last NvChad update, you may need to delete some nvim folders:

  • rm -r ~/.local/share/nvim
  • rm -r ~/.local/state/nvim

Cute Dashboard (Customised)

image

Supported Projects

  • React, Javascript, Typescript
  • Astro
  • Markdown
  • Lua
  • HTML
  • CSS

Installation

  1. Install Nvim
  2. git clone https://github.com/t1gu1/nvchad ~/.config/nvim && nvim

For Flatpak Users

  1. Install NVIM from Flatpak
  2. Launch it once
  3. Create nvim folder: mkdir ~/.var/app/io.neovim.nvim/config/nvim
  4. Create nvim alias: echo "alias nvim='flatpak run io.neovim.nvim'" >> ~/.bashrc
  5. Reload bash: source ~/.bashrc
  6. Clone the repo: git clone https://github.com/t1gu1/nvchad ~/.config/nvim && nvim

One-line Command for Flatpak Users

mkdir ~/.var/app/io.neovim.nvim/config/nvim && echo "alias nvim='flatpak run io.neovim.nvim'" >> ~/.bashrc && source ~/.bashrc && git clone https://github.com/t1gu1/nvchad ~/.config/nvim && nvim

Pre-requisites

  • Nerd Font as your terminal font. Avoid fonts ending with Mono.
  • Ripgrep for grep searching with Telescope (optional).
  • Run :checkhealth after opening nvim for the first time.

Windows Users

  • Install GCC and add it to PATH.
  • Install Make (GnuWin32) and add it to PATH.

Plugins and Adjustments

  • rainbow-delimiters: Colorful delimiters for (), {}, []
  • mini.cursorword: Underline words similar to the one under the cursor
  • mini.surround: Surround content with (), {}, [], "", ''
  • mini.move: Move lines or selections
  • lspsaga: Enhanced LSP actions and debugging
  • project.nvim: Quick project finder in NvDash
  • lazygit.nvim: Git integration inside nvim

Using mini.surround

  • sr)": Replace () with ""
  • sr]}: Replace [] with {}
  • sd)": Delete surrounding ()
  • sd]}: Delete surrounding []
  • saiw": Add "" around the word under the cursor
  • viwsa": Add "" around the word under the cursor (slower)

Terminal Integration (NvChad.term)

image

Terminal Shortcuts

  • <leader>t: Open the last terminal (or create one)
  • 1<leader>t to 9<leader>t: Open specific terminals (or create them)

Switch or View Opened Terminals

  • Shortcut: t
image

Nvim-tree & UI (Customised)

Auto-closes when out of focus or a file is selected. image

Noice Popup/Box for Searching and Commands

Appears when you press : or /, removing the bottom screen space. image image

Navigate Fast with Harpoon 2 (Added)

Harpoon changes based on the project branch.

  • <leader>a: Add file in Harpoon
  • <leader>E: Show Harpoon explorer (CAP E)
  • <leader>1 to <leader>9: Open specific terminals (or create them)
image

Cheat Sheet

  • <leader>ch: Open the Cheat Sheet
image

Gorgeous Telescope

image

Themes

image

Lazygit Config

gui:
  theme:
    activeBorderColor:
      - '#00ffa5'
      - bold
    inactiveBorderColor:
      - '#a5adcb'
    optionsTextColor:
      - '#00ebd7'
    selectedLineBgColor:
      - '#262a3f'
    cherryPickedCommitBgColor:
      - '#494d64'
    cherryPickedCommitFgColor:
      - '#8bd5ca'
    unstagedChangesColor:
      - '#ed8796'
    defaultFgColor:
      - '#cad3f5'
    searchingActiveBorderColor:
      - '#eed49f' 

keybinding:
  universal:
    quit: '<esc>'
    quit-alt1: '<c-c>'
    return: 'q'

Linux Installation

If x11

  • Install xclip

If Wayland

  • Install wl-copy and wl-paste (Now it is under wl-clipboard I think)

About

nvchad nvim config

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages