Skip to content

Latest commit

 

History

History
55 lines (35 loc) · 969 Bytes

File metadata and controls

55 lines (35 loc) · 969 Bytes

Neovim lua configuration

Reference:

Dependencies

sudo pacman -Sy xsel xclip npm go tree-sitter-cli lazygit

Commands

:Lazy: manage plugins
:Mason: manage lsp servers
:TSUpdate: manage tree-sitter servers

Shortcuts

For more shortcuts, please visit: Shortcuts - NVim

Navigation

  • <C-o>: back to previous space

Buffers

  • :bp: previous buffer
  • :bn: next buffer
  • :b init.lua: open buffers
  • :e init.lua: open files

Window

  • <C-w> <arrow>: switch bewteen windows

Plugins

  • <A-m>: nvim-tree
  • <C-p>: telescope, find files
  • <C-f>: telescope, live grep
  • gc: comment lines

Editors

  • <zc>: fold close
  • <zo>: fold open

LSP

  • gd: jump to definition