Skip to content

devubu/nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Custom NvChad

Use Neovim and Tmux with Alacritty on Kali Linux.

View the Tmux Keybindings

View the Nvim Keybindings

Features

  • Custom Neovim configuration

  • Custom Tmux configuration

  • Custom Alacritty configuration

  • Custom .zshrc configuration

Installation

git clone https://github.com/devubu/nvim.git ~/.config/nvim
source ~/.config/nvim/install.sh

Uninstall

rm -rf ~/.config/nvim
rm -rf ~/.local/state/nvim
rm -rf ~/.local/share/nvim

Showcase

What is it?

  • NvChad is a neovim config written in lua aiming to provide a base configuration with very beautiful UI and blazing fast startuptime (around 0.02 secs ~ 0.07 secs). We tweak UI plugins such as telescope, nvim-tree etc well to provide an aesthetic UI experience.

  • Lazy loading is done 93% of the time meaning that plugins will not be loaded by default, they will be loaded only when required also at specific commands, events etc. This lowers the startuptime and it was like 0.07~ secs tested on an old pentium machine 1.4ghz + 4gb ram & HDD.

  • NvChad is supposed to be used with its starter config, so nvchad main repo ( this repo ) can be imported as a plugin via lazy's import feature and then you can easily use this repo's modules like autocmds etc.

Theme Showcase

Images (Click to expand!)

4 themes radium 1 radium 2 radium 3

(Note: these are just 4-5 themes, NvChad has around 56 themes)

Telescope-nvim

A fuzzy file finder, picker, sorter, previewer and much more:

Our own statusline written from scratch

NvChad UI

Tabufline (our own pertab bufferline)

  • Here's a video that showcases it.

NvCheatsheet ( our UI Plugin )

Plugins list

Tmux Keybindings

  • The prefix key for Tmux is Control + Space for more convenient access.
  • 'ctrl + space + shift + |' or 'tmux split-window -h' to split window horizontally and stay in the current directory
  • 'ctrl + space + shift + _' or 'tmux split-window -v' to split window vertically and stay in the current directory
  • 'ctrl + h' => Left
  • 'ctrl + j' => Down
  • 'ctrl + k' => Up
  • 'ctrl + l' => Right
  • 'ctrl + space + m' to maximize the current pane
  • 'ctrl + space + c' to create a new window
  • 'ctrl + space + ,' to rename a window
  • 'ctrl + space + <window_number>' to switch directly to a specific window in the current tmux session
  • 'ctrl + space + n' to cycle through the list of windows in the tmux session in a forward direction
  • 'ctrl + space + p' to cycle through the list of windows in the tmux session in a backward direction
  • 'ctrl + space + [' to switch to tmux navigation mode allowing vertical movement through terminal output
  • 'y' to yank (copy) text currently under the cursor in tmux navigation mode
  • 'q' to return from tmux navigation mode and resume regular input mode in the terminal pane
  • 'tmux new -s <session_name>' to create a new, independent tmux session with a specified name
  • 'ctrl + space + d' or 'tmux detach' to detach from tmux session
  • 'tmux ls' to list tmux sessions
  • 'tmux attach' to attach to the most recent tmux session
  • 'tmux attach-session -t <session_name>' to attach to a specific tmux session
  • 'tmux kill-session -t <session_name>' to end a specific tmux session
  • 'tmux kill-server' to end all tmux sessions
  • 'ctrl + space + x' to kill a pane
  • 'ctrl + space + shift + &' to kill a window
  • 'tmux swap-window -s 3 -t 2' or 'ctrl + space + :' + 'swap-window -s 2 -t 3' + 'enter' to swap the source window (3) with the target window (2)

Neovim Keybindings

  • The leader key for neovim is Space.
  • 'space + ch' or ':NvCheatsheet' to view neovim keybindings
  • 'space + fw' to live grep
  • 'space + ff' to find files
  • 'space + e' to toggle nvimtree
  • 'i' to enter insert mode
  • 'escape key' to enter normal mode
  • 'shift + zz' or ':wq' to save and exit
  • 'shift + zq' or ':q' to exit without saving
  • h or Left Arrow () to move the cursor left one character
  • j or Down Arrow () to move the cursor down one line
  • k or Up Arrow () to move the cursor up one line
  • l or Right Arrow () to move the cursor right one character
  • '/' to search for text within the current file
  • 'space + h' to open a new horizonal terminal window within Neovim
  • 'space + v' to open a new vertical terminal window within Neovim
  • 'ctrl + x' to escape Neovim terminal window
  • 'yy' to yank (copy) the entire current line into the default register
  • 'p' to paste the contents of the default register
  • 'dd' to cut the entire line
  • 'daw' to delete (cut) the entire word under the cursor
  • 'cc' to delete the entire current line and set Neovim to insert mode
  • 'ciw' to change (cut) the word under the cursor and set Neovim to insert mode
  • '<number_of_lines> + j' to move cursor down a specific number of lines
  • '<number_of_lines> + k' to move cursor up a specific number of lines
  • 'shift + g' to move cursor to the last line
  • 'gg' to move cursor to the first line
  • 'shift + 0' moves the cursor to the beginning of the current line
  • 'shift + 4' moves the cursor to the end of the current line
  • 'viw' to select the current word under the cursor
  • 'shift + v' to select an entire line
  • 'w' to move the cursor forward to the beginning of the next word
  • 'b' to move the cursor backward to the beginning of the previous word
  • ':<line_number>' to navigate to a specific line number
  • ':%s/<old_substring>/<new_substring>/g' to replace all occurrences of a substring with another substring

Credits

About

Custom NvChad Configuration for Neovim

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published