Neovim config for the lazy powered by ๐ค lazy.nvim.
Can't decide between building a config from scratch or using one of the existing Neovim distros?
With LazyVim you don't have to. Configuring LazyVim is exactly the same as you would configure a config from scratch. You can easily add new plugins, change the config for existing ones or disable plugins.
You can find a starter template for LazyVim here
TLDR:
require("lazy").setup({
spec = {
-- import LazyVim plugins
{ "LazyVim/LazyVim", import = "lazyvim.plugins" },
-- import/override with your plugins
{ import = "plugins" },
},
defaults = {
lazy = true, -- every plugin is lazy-loaded by default
version = "*", -- try installing the latest stable version for plugins that support semver
},
})
- documentation
- treesitter auto-install seems broken. Switch to
ensure_installed
instead? - list all plugins in readme
- test all-the-things
- auto-generate keymaps for README.md
- auto-generate plugins for README.md
Key | Description | Mode |
---|---|---|
<C-h> |
Go to left window | n |
<C-j> |
Go to lower window | n |
<C-k> |
Go to upper window | n |
<C-l> |
Go to right window | n |
<C-Up> |
Increase window height | n |
<C-Down> |
Decrease window height | n |
<C-Left> |
Decrease window width | n |
<C-Right> |
Increase window width | n |
<A-j> |
Move down | n, v, i |
<A-k> |
Move up | n, v, i |
<S-h> |
Prev buffer | n |
<S-l> |
Next buffer | n |
[p |
Paste below | n |
]p |
Paste above | n |
<esc> |
Escape and clear hlsearch | i, n |
n |
Next search result | n, x, o |
N |
Prev search result | n, x, o |
<C-s> |
Save file | i, v, n, s |
<leader>l |
Lazy | n |
<leader>fn |
New File | n |
<leader>xl |
Open Location List | n |
<leader>xq |
Open Quickfix List | n |
<leader>tf |
Toggle Format on Save | n |
<leader>ts |
Toggle Spelling | n |
<leader>tw |
Toggle Word Wrap | n |
<leader>tn |
Toggle Line Numbers | n |
<leader>td |
Toggle Diagnostics | n |
<leader>tc |
Toggle Conceal | n |
<leader>gg |
Lazygit (cwd) | n |
<leader>gG |
Lazygit (root dir) | n |
<leader>qq |
Quit all | n |
<leader>hl |
Highlight Groups at cursor | n |
<leader>ot |
Terminal (root dir) | n |
<leader>oT |
Terminal (cwd) | n |
<esc><esc> |
Enter Normal Mode | t |
<leader>ww |
other-window | n |
<leader>wd |
delete-window | n |
<leader>w- |
split-window-below | n |
<leader>w| |
split-window-right | n |
<leader><tab>l |
Last | n |
<leader><tab>f |
First | n |
<leader><tab><tab> |
New Tab | n |
<leader><tab>] |
Next | n |
<leader><tab>d |
Close | n |
<leader><tab>[ |
Previous | n |
<leader>b] |
Next Buffer | n |
<leader>bb |
Switch to Other Buffer | n |
<leader>b[ |
Previous Buffer | n |
<leader>` |
Switch to Other Buffer | n |
Key | Description | Mode |
---|---|---|
<leader>cd |
Line Diagnostics | n |
<leader>cl |
Lsp Info | n |
<leader>xd |
Telescope Diagnostics | n |
gd |
Goto Definition | n |
gr |
References | n |
gD |
Goto Declaration | n |
gI |
Goto Implementation | n |
gt |
Goto Type Definition | n |
K |
Hover | n |
gK |
Signature Help | n |
[d |
Next Diagnostic | n |
]d |
Prev Diagnostic | n |
]e |
Next Error | n |
[e |
Prev Error | n |
]w |
Next Warning | n |
[w |
Prev Warning | n |
<leader>ca |
Code Action | n, v |
<leader>cf |
Format Document | n |
<leader>cf |
Format Range | v |
<leader>cr |
Rename | n |
Key | Description | Mode |
---|---|---|
<leader>cm |
mason.nvim Mason | n |
<leader>bd |
mini.bufremove Delete Buffer | n |
<leader>bD |
mini.bufremove Delete Buffer (Force) | n |
<leader>ft |
neo-tree.nvim NeoTree (root dir) | n |
<leader>fT |
neo-tree.nvim NeoTree (cwd) | n |
<S-Enter> |
noice.nvim Redirect Cmdline | c |
<leader>nl |
noice.nvim Noice Last Message | n |
<leader>nh |
noice.nvim Noice History | n |
<leader>na |
noice.nvim Noice All | n |
<leader>nd |
nvim-notify Delete all Notifications | n |
<leader>sr |
nvim-spectre Replace in files (Spectre) | n |
<leader>qs |
persistence.nvim Restore Session | n |
<leader>ql |
persistence.nvim Restore Last Session | n |
<leader>qd |
persistence.nvim Don't Save Current Session | n |
<leader>/ |
telescope.nvim Find in Files (Grep) | n |
<leader><space> |
telescope.nvim Find Files (root dir) | n |
<leader>fb |
telescope.nvim Buffers | n |
<leader>ff |
telescope.nvim Find Files (root dir) | n |
<leader>fF |
telescope.nvim Find Files (cwd) | n |
<leader>fr |
telescope.nvim Recent | n |
<leader>gc |
telescope.nvim commits | n |
<leader>gs |
telescope.nvim status | n |
<leader>ha |
telescope.nvim Auto Commands | n |
<leader>hc |
telescope.nvim Commands | n |
<leader>hf |
telescope.nvim File Types | n |
<leader>hh |
telescope.nvim Help Pages | n |
<leader>hk |
telescope.nvim Key Maps | n |
<leader>hm |
telescope.nvim Man Pages | n |
<leader>ho |
telescope.nvim Options | n |
<leader>hs |
telescope.nvim Search Highlight Groups | n |
<leader>ht |
telescope.nvim Telescope | n |
<leader>sb |
telescope.nvim Buffer | n |
<leader>sc |
telescope.nvim Command History | n |
<leader>sg |
telescope.nvim Grep (root dir) | n |
<leader>sG |
telescope.nvim Grep (cwd) | n |
<leader>sm |
telescope.nvim Jump to Mark | n |
<leader>, |
telescope.nvim Switch Buffer | n |
<leader>: |
telescope.nvim Command History | n |
<leader>ss |
telescope.nvim Goto Symbol | n |
]t |
todo-comments.nvim Next todo comment | n |
[t |
todo-comments.nvim Previous todo comment | n |
<leader>xt |
todo-comments.nvim Todo Trouble | n |
<leader>xtt |
todo-comments.nvim Todo Trouble | n |
<leader>xT |
todo-comments.nvim Todo Telescope | n |
<leader>xx |
trouble.nvim Document Diagnostics (Trouble) | n |
<leader>xX |
trouble.nvim Workspace Diagnostics (Trouble) | n |
]] |
vim-illuminate Next Reference | n |
[[ |
vim-illuminate Prev Reference | n |
- alpha-nvim
- catppuccin
- cmp-buffer
- cmp-emoji
- cmp-nvim-lsp
- cmp-path
- cmp_luasnip
- dressing.nvim
- flit.nvim
- friendly-snippets
- gitsigns.nvim
- indent-blankline.nvim
- lazy.nvim
- LazyVim
- leap.nvim
- lualine.nvim
- LuaSnip
- mason-lspconfig.nvim
- mason.nvim
- mini.ai
- mini.bufremove
- mini.comment
- mini.indentscope
- mini.pairs
- mini.surround
- neo-tree.nvim
- neoconf.nvim
- neodev.nvim
- noice.nvim
- nui.nvim
- null-ls.nvim
- nvim-bufferline.lua
- nvim-cmp
- nvim-lspconfig
- nvim-navic
- nvim-notify
- nvim-spectre
- nvim-treesitter
- nvim-treesitter-textobjects
- nvim-ts-context-commentstring
- nvim-web-devicons
- persistence.nvim
- plenary.nvim
- telescope.nvim
- todo-comments.nvim
- tokyonight.nvim
- trouble.nvim
- vim-illuminate
- vim-startuptime
- which-key.nvim