Skip to content
t1gu1Public

About

nvchad nvim config

Resources

Stars

9 stars

Watchers

1 watching

Forks

Latest commit

 

History

38 Commits

Folders and files

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 type

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

Maybe python and GO are easy to add if it is not already funcitonal

Installation

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

For easier copy/paste on linux

If x11

  • Install xclip

If Wayland

  • Install wl-clipboard

For Flatpak Users (Not perfect instructions, but you got the idea)

  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. symlink flatpack nvim folder to the use config with: ln -s ~/.var/app/io.neovim.nvim/config/nvim ~/.config/
  7. Clone the repo: 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).
  • nodejs, lua, etc for LSPs (optional).
  • Run :checkhealth after opening nvim for the first time.

Lazygit

Simply install lazygit in your system

For auto commit message using AI here an example of lazygit config

customCommands:
  - key: "<c-C>"
    context: "global"
    description: "Auto commit staged files with an auto message"
    command: "git commit -m \"$(git diff --staged | claude -p 'Based on the following git diff, generate only a one line commit message')\""
    loadingText: "Analyse staged files..."

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
  • neogit.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

Tabs & Buffers

Tabs/buffer are also very functional.

  • Tab go to the next buffer
  • Shift + Tab go to the previous buffer
  • <leader><TAB> move the buffer to the right
  • <leader><S-TAB> move the buffer to the left
  • <leader>c<TAB> close the buffers to the right of the active one
  • <leader>c<S-TAB> close the buffers to the left of the active one
  • <leader>q<TAB> close the current buffer
  • <leader>Q<TAB> close other buffers except the current one

Cheat Sheet

  • <leader>ch: Open the Cheat Sheet
image

Gorgeous Telescope

image

Themes

image

About

nvchad nvim config

Resources

Stars

9 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages