This repository contains my personal Neovim configuration files
init.lua
: Main configuration filelua/misc.lua
: Miscellaneous settings and key mappingslua/plugins/
: Directory containing plugin configurations
- Lazy-loaded plugins for faster startup
- Custom color scheme (Tokyo Night) with transparency
- File explorer (NvimTree)
- Fuzzy finder (Telescope)
- Syntax highlighting and indentation (Treesitter)
- Status line (Lualine)
- Buffer line
- Git integration (Gitsigns, Neogit)
- Code completion (nvim-cmp, Copilot)
- Snippet support (LuaSnip)
- LSP support with various language servers
- Markdown preview
- Terminal integration (Nvterm)
- Auto-formatting and linting
- LaTeX support (VimTex)
- AI chat integration (Avante)
- Better UI for messages, cmdline and the popupmenu (💥Noice)
- And more!
- Leader key:
Space
<C-h/j/k/l>
: Navigate between windows<Tab>/<S-Tab>
: Cycle through buffers<leader>x
: Close buffer<leader>/
: Toggle comment<leader>n
: Toggle line numbers<leader>rn
: Toggle relative line numbers<C-d>/<C-u>
: Scroll down/up (centered)J
: Join lines (keeping cursor position)
<C-b>
: Toggle file explorer<leader>e
: Focus file explorer
<A-i/h/v>
: Toggle floating/horizontal/vertical terminal
<leader>ff
: Find files<leader>fw
: Live grep<leader>fb
: Search buffers<leader>fh
: Search help tags<leader>fa
: Find all files (including hidden)<leader>fz
: Fuzzy find in current buffer
<leader>gh
: Preview hunk inline (Gitsigns)<leader>gH
: Preview hunk in floating window (Gitsigns)<leader>gb
: Toggle line blame (Gitsigns)<leader>gt
: Open Neogit
K
: Hover informationgd
: Go to definitiongD
: Go to declarationgi
: Go to implementation<leader>ca
: Code action<C-p>
: Go to previous diagnostic<A-p>
: Go to next diagnostic<F2>
: Rename symbol<C-k>
: Signature help<leader>wa
: Add workspace folder<leader>wr
: Remove workspace folder<leader>wl
: List workspace folders<leader>D
: Type definitiongr
: Find references<leader>E
: Show diagnostics in float window<leader>q
: Set location list<leader>fm
: Format buffer
<C-9>
: Select previous item<C-0>
: Select next item<C-d>
: Scroll docs down<C-f>
: Scroll docs up<C-Space>
: Complete<C-e>
: Close completion menu<CR>
: Confirm completion<Tab>
: Next completion or expand snippet<S-Tab>
: Previous completion or jump to previous snippet placeholder
<Tab>
: Expand or jump to next placeholder<S-Tab>
: Jump to previous placeholder
<C-J>
: Accept Copilot suggestion
<leader>ll
: Compile LaTeX document<leader>lv
: View LaTeX PDF<leader>lk
: Kill LaTeX compiler<leader>le
: Show errors<leader>lw
: Show warnings<leader>lo
: Show log<leader>lg
: Show log and errors