Skip to content
emerenPublic

About

Nvim config

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

16 Commits

Folders and files

Repository files navigation

nvim config

Personal Neovim config, originally bootstrapped from kickstart.nvim. Plugins are managed with vim.pack (Neovim's built-in plugin manager, see :help vim.pack) rather than a third-party plugin manager.

Layout

init.lua is just six require calls, in load order:

  • lua/options.lua — core Neovim settings, leader key.
  • lua/autocmds.lua — diagnostics config, basic autocmds.
  • lua/pack.lua — vim.pack bootstrap (build hooks for plugins that need one).
  • lua/keymaps.lua — all keymaps.
  • lua/lsp/ — LSP, formatting, completion and Treesitter, one file per concern, loaded by lua/lsp/init.lua.
  • lua/plugins/ — every other plugin, one file each, loaded by lua/plugins/init.lua.

Plus lua/dadbod_local.lua (machine-local database config, gitignored) and lua/snippets/ (vendored VSCode-format snippets).

Notable plugins beyond stock kickstart.nvim

Key bindings

Leader is <space>. <leader>s* opens Telescope pickers (:help telescope.builtin), <leader>g*/<leader>h* are git (neogit/diffview and gitsigns hunks), gr* are LSP actions. Run <leader>sk to fuzzy-search all keymaps, or :help which-key to see the live cheat sheet.

A few bindings mimic VS Code's Cmd-key shortcuts (save, format, find, panel toggle, multi-cursor). They arrive as Alt/Ctrl combinations translated by WezTerm (~/.config/dotfiles/.wezterm.lua), which is why some keymap comments reference specific escape sequences.

Requirements

  • Neovim with vim.pack (see :help vim.pack — ships with sufficiently recent Neovim builds).
  • git, make, a C compiler, ripgrep, and fd for full functionality (Telescope, LSP tooling, treesitter parser builds).
  • A Nerd Font for icons (vim.g.have_nerd_font in init.lua).

Setup

git clone <this-repo> ~/.config/nvim
nvim

Plugins install automatically on first launch via vim.pack. Run :checkhealth afterwards to confirm external dependencies are present.

About

Nvim config

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages