Skip to content

Latest commit

 

History

History
50 lines (28 loc) · 966 Bytes

nvim-cheatsheet.md

File metadata and controls

50 lines (28 loc) · 966 Bytes

Neovim Cheatsheet

Installation based on: https://youtu.be/KYDG3AHgYEs?si=Paqyqo3fJtdFSWi5

alpha.lua

Nice "blank page" when running just nvim in the terminal

bufferline.lua

Creates "tabs" in Neovim

  • Switch to buffer to right: <Tab>
  • Switch to buffer to left: <Shift> + <Tab>
  • Close current buffer: :Bdelete within Normal mode

colortheme.lua

Decides the color theme

  • Toggle background transparency: <Space> + bg

gitsigns.lua

Show which lines have been changed since previous commit

indent-blankline.lua

Display vertical lines on indents

lualine.lua

Sexy "status line" at the bottom

misc.lua

Standalone plugins with less than 10 lines of config go here

neotree.lua

See directory structure on the left

  • Toggle view of Neotree: <Space> + e
  • Create new file/directory: a
  • Go to left window (file tree): <Space> + w + h
  • Go to right window (code): <Space> + w + l

treesitter.lua

Syntax highlighting