Skip to content

Instantly share code, notes, and snippets.

@m0hadang
Last active January 4, 2026 00:02
Show Gist options
  • Select an option

  • Save m0hadang/a6f439732dcc117ac32e7a65ddd2660f to your computer and use it in GitHub Desktop.

Select an option

Save m0hadang/a6f439732dcc117ac32e7a65ddd2660f to your computer and use it in GitHub Desktop.
vim(NVim, LazyVim, NvChad) shortcut

NVim, LazyVim ShortCut

NVim

  • intellisense : tab(can use in command(:) mode)
  • keymap site :

Lazy Vim Shortcut

window

  • 'sp'lit : : + sp, vsp

  • switch window : ctrl + h,j,k,l

  • move tab : tab, shift + tab

NvimTree

  • open/close NvimTree : ctrl + n
  • focus NvimTree : space -> e
  • 'a'ppend file : a
  • 'c'opy 'f'ile : c -> p
  • 'r'ename file : r
  • 'd'elete file : d
  • file informawtion : ctrl + k
  • fold directory : backspace
  • resize : ctrl + left/right

NvChad Shortcut

  • change 'th'eme : space -> t -> h
  • 'f'ind 'a'll : space -> f -> a
  • 'f'ind 'f'iles : space -> f -> f
  • 'f'ind 'b'uffers(tabs) : space -> f -> b
  • 'h'orizontal or 'v'ertical terminal : space -> h, v
  • 'c'omment : v + (space + /), (g + c)
  • comment current block : g + b + b
  • 'ch'eat sheet : space -> c -> h, leadkey : space
  • 'g'o to 'd'efinition : g + d/Dctrl + ]
  • close tab : space + x
  • window line number : space + n, (r + n), 'r'elative
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment