Kabin Neovim Configuration Information
One of the AstroNvim ‘Black Belt’ example advanced configurations
- Install and initialize:
lazyman -x Kabin - Configuration category: Starter
- Base configuration: AstroNvim
- Plugin manager: Lazy
- Installation location:
~/.config/nvim-Kabin
Git repository
https://github.com/kabinspace/AstroNvim_user
Website
Lazy managed plugins
- stevearc/aerial.nvim
- AstroNvim/astrotheme
- hrsh7th/cmp-buffer
- rcarriga/cmp-dap
- saadparwaiz1/cmp_luasnip
- hrsh7th/cmp-nvim-lsp
- hrsh7th/cmp-path
- numToStr/Comment.nvim
- stevearc/dressing.nvim
- rafamadriz/friendly-snippets
- lewis6991/gitsigns.nvim
- NMAC427/guess-indent.nvim
- rebelot/heirline.nvim
- lukas-reineke/indent-blankline.nvim
- folke/lazy.nvim
- lvimuser/lsp-inlayhints.nvim
- onsails/lspkind.nvim
- L3MON4D3/LuaSnip
- williamboman/mason-lspconfig.nvim
- jay-babu/mason-null-ls.nvim
- jay-babu/mason-nvim-dap.nvim
- williamboman/mason.nvim
- echasnovski/mini.bufremove
- folke/neoconf.nvim
- folke/neodev.nvim
- karb94/neoscroll.nvim
- nvim-neo-tree/neo-tree.nvim
- Shatur/neovim-session-manager
- MunifTanjim/nui.nvim
- jose-elias-alvarez/null-ls.nvim
- windwp/nvim-autopairs
- hrsh7th/nvim-cmp
- NvChad/nvim-colorizer.lua
- mfussenegger/nvim-dap
- rcarriga/nvim-dap-ui
- neovim/nvim-lspconfig
- rcarriga/nvim-notify
- nvim-treesitter/nvim-treesitter
- nvim-treesitter/nvim-treesitter-textobjects
- windwp/nvim-ts-autotag
- JoosepAlviste/nvim-ts-context-commentstring
- mrjones2014/nvim-ts-rainbow
- kevinhwang91/nvim-ufo
- nvim-tree/nvim-web-devicons
- nvim-treesitter/playground
- nvim-lua/plenary.nvim
- kevinhwang91/promise-async
- b0o/SchemaStore.nvim
- mrjones2014/smart-splits.nvim
- nvim-telescope/telescope-fzf-native.nvim
- nvim-telescope/telescope.nvim
- akinsho/toggleterm.nvim
- folke/which-key.nvim
- s1n7ax/nvim-window-picker
- folke/zen-mode.nvim
Kabin Keymaps
Normal mode keymaps
| Description | Find buffers |
|---|---|
| Left hand side | fb |
| Right hand side |
| Description | Restart (C-F5) |
|---|---|
| Left hand side | dr |
| Right hand side |
| Description | Find word under cursor |
|---|---|
| Left hand side | fc |
| Right hand side |
| Description | Find commands |
|---|---|
| Left hand side | fC |
| Right hand side |
| Description | Toggle color highlight |
|---|---|
| Left hand side | uC |
| Right hand side | <Cmd>ColorizerToggle<CR> |
| Description | Find files |
|---|---|
| Left hand side | ff |
| Right hand side |
| Description | Find all files |
|---|---|
| Left hand side | fF |
| Right hand side |
| Description | Find help |
|---|---|
| Left hand side | fh |
| Right hand side |
| Description | Find keymaps |
|---|---|
| Left hand side | fk |
| Right hand side |
| Description | Find notifications |
|---|---|
| Left hand side | fn |
| Right hand side |
| Description | Find man |
|---|---|
| Left hand side | fm |
| Right hand side |
| Description | Plugins Update |
|---|---|
| Left hand side | pU |
| Right hand side |
| Description | Plugins Install |
|---|---|
| Left hand side | pi |
| Right hand side |
| Description | Find history |
|---|---|
| Left hand side | fo |
| Right hand side |
| Description | Find registers |
|---|---|
| Left hand side | fr |
| Right hand side |
| Description | Save |
|---|---|
| Left hand side | w |
| Right hand side | <Cmd>w<CR> |
| Description | Find themes |
|---|---|
| Left hand side | ft |
| Right hand side |
| Description | Plugins Status |
|---|---|
| Left hand side | ps |
| Right hand side |
| Description | Find words |
|---|---|
| Left hand side | fw |
| Right hand side |
| Description | Quit |
|---|---|
| Left hand side | q |
| Right hand side | <Cmd>confirm q<CR> |
| Description | Find words in all files |
|---|---|
| Left hand side | fW |
| Right hand side |
| Description | New File |
|---|---|
| Left hand side | n |
| Right hand side | <Cmd>enew<CR> |
| Description | Search symbols |
|---|---|
| Left hand side | ls |
| Right hand side |
| Description | AstroNvim Update |
|---|---|
| Left hand side | pA |
| Right hand side | <Cmd>AstroUpdate<CR> |
| Description | ToggleTerm lazygit |
|---|---|
| Left hand side | gg |
| Right hand side |
| Description | ToggleTerm lazygit |
|---|---|
| Left hand side | tl |
| Right hand side |
| Description | ToggleTerm node |
|---|---|
| Left hand side | tn |
| Right hand side |
| Description | ToggleTerm gdu |
|---|---|
| Left hand side | tu |
| Right hand side |
| Description | AstroNvim Changelog |
|---|---|
| Left hand side | pl |
| Right hand side | <Cmd>AstroChangelog<CR> |
| Description | ToggleTerm btm |
|---|---|
| Left hand side | tt |
| Right hand side |
| Description | Toggle tabline |
|---|---|
| Left hand side | ut |
| Right hand side |
| Description | ToggleTerm python |
|---|---|
| Left hand side | tp |
| Right hand side |
| Description | ToggleTerm float |
|---|---|
| Left hand side | tf |
| Right hand side | <Cmd>ToggleTerm direction=float<CR> |
| Description | Plugins Sync |
|---|---|
| Left hand side | pS |
| Right hand side |
| Description | ToggleTerm horizontal split |
|---|---|
| Left hand side | th |
| Right hand side | <Cmd>ToggleTerm size=10 direction=horizontal<CR> |
| Description | Plugins Check Updates |
|---|---|
| Left hand side | pu |
| Right hand side |
| Description | ToggleTerm vertical split |
|---|---|
| Left hand side | tv |
| Right hand side | <Cmd>ToggleTerm size=80 direction=vertical<CR> |
| Description | Update Plugins and Mason Packages |
|---|---|
| Left hand side | pa |
| Right hand side | <Cmd>AstroUpdatePackages<CR> |
| Description | Toggle background |
|---|---|
| Left hand side | ub |
| Right hand side |
| Description | AstroNvim Version |
|---|---|
| Left hand side | pv |
| Right hand side | <Cmd>AstroVersion<CR> |
| Description | Run Browser |
|---|---|
| Left hand side | r |
| Right hand side | :exe ':silent !firefox %'<CR> |
| Description | View Highlight Group |
|---|---|
| Left hand side | k |
| Right hand side | :TSHighlightCapturesUnderCursor<CR> |
| Description | Close buffer |
|---|---|
| Left hand side | c |
| Right hand side |
| Description | Force close buffer |
|---|---|
| Left hand side | C |
| Right hand side |
| Description | Sort by tabs |
|---|---|
| Left hand side | bt |
| Right hand side | <Cmd>BufferLineSortByTabs<CR> |
| Description | Zen Mode |
|---|---|
| Left hand side | z |
| Right hand side | <Cmd>ZenMode<CR> |
| Description | Pick to jump |
|---|---|
| Left hand side | bj |
| Right hand side | <Cmd>BufferLinePick<CR> |
| Description | Pick to close |
|---|---|
| Left hand side | bc |
| Right hand side | <Cmd>BufferLinePickClose<CR> |
| Description | Toggle Breakpoint (F9) |
|---|---|
| Left hand side | db |
| Right hand side |
| Description | Close all buffers |
|---|---|
| Left hand side | bC |
| Right hand side |
| Description | Clear Breakpoints |
|---|---|
| Left hand side | dB |
| Right hand side |
| Description | Close all buffers to the left |
|---|---|
| Left hand side | bl |
| Right hand side |
| Description | Start/Continue (F5) |
|---|---|
| Left hand side | dc |
| Right hand side |
| Description | Previous buffer |
|---|---|
| Left hand side | bp |
| Right hand side |
| Description | Conditional Breakpoint (S-F9) |
|---|---|
| Left hand side | dC |
| Right hand side |
| Description | Close all buffers to the right |
|---|---|
| Left hand side | br |
| Right hand side |
| Description | Step Into (F11) |
|---|---|
| Left hand side | di |
| Right hand side |
| Description | Step Over (F10) |
|---|---|
| Left hand side | do |
| Right hand side |
| Description | Step Out (S-F11) |
|---|---|
| Left hand side | dO |
| Right hand side |
| Description | Close Session |
|---|---|
| Left hand side | dq |
| Right hand side |
| Description | Terminate Session (S-F5) |
|---|---|
| Left hand side | dQ |
| Right hand side |
| Description | Pause (F6) |
|---|---|
| Left hand side | dp |
| Right hand side |
| Description | Toggle autopairs |
|---|---|
| Left hand side | ua |
| Right hand side |
| Description | Toggle REPL |
|---|---|
| Left hand side | dR |
| Right hand side |
| Description | Run To Cursor |
|---|---|
| Left hand side | ds |
| Right hand side |
| Description | Evaluate Input |
|---|---|
| Left hand side | dE |
| Right hand side |
| Description | Toggle autocompletion |
|---|---|
| Left hand side | uc |
| Right hand side |
| Description | Toggle Debugger UI |
|---|---|
| Left hand side | du |
| Right hand side |
| Description | Debugger Hover |
|---|---|
| Left hand side | dh |
| Right hand side |
| Description | Toggle diagnostics |
|---|---|
| Left hand side | ud |
| Right hand side |
| Description | Highlight groups |
|---|---|
| Left hand side | sg |
| Right hand side | <Cmd>Telescope highlights<CR> |
| Description | Toggle signcolumn |
|---|---|
| Left hand side | ug |
| Right hand side |
| Description | Change indent setting |
|---|---|
| Left hand side | ui |
| Right hand side |
| Description | Toggle statusline |
|---|---|
| Left hand side | ul |
| Right hand side |
| Description | Toggle CodeLens |
|---|---|
| Left hand side | uL |
| Right hand side |
| Description | Change line numbering |
|---|---|
| Left hand side | un |
| Right hand side |
| Description | By extension |
|---|---|
| Left hand side | bse |
| Right hand side |
| Description | By relative path |
|---|---|
| Left hand side | bsr |
| Right hand side |
| Description | By full path |
|---|---|
| Left hand side | bsp |
| Right hand side |
| Description | By buffer number |
|---|---|
| Left hand side | bsi |
| Right hand side |
| Description | By modification |
|---|---|
| Left hand side | bsm |
| Right hand side |
| Description | New tab |
|---|---|
| Left hand side | bb |
| Right hand side | <Cmd>tabnew<CR> |
| Description | Close buffer from tabline |
|---|---|
| Left hand side | bd |
| Right hand side |
| Description | Horizontal split buffer from tabline |
|---|---|
| Left hand side | b\ |
| Right hand side |
| Description | Vertical split buffer from tabline |
|---|---|
| Left hand side | b| |
| Right hand side |
| Description | Toggle comment line |
|---|---|
| Left hand side | / |
| Right hand side |
| Description | View Git blame |
|---|---|
| Left hand side | gl |
| Right hand side |
| Description | View full Git blame |
|---|---|
| Left hand side | gL |
| Right hand side |
| Description | Preview Git hunk |
|---|---|
| Left hand side | gp |
| Right hand side |
| Description | Reset Git hunk |
|---|---|
| Left hand side | gh |
| Right hand side |
| Description | Reset Git buffer |
|---|---|
| Left hand side | gr |
| Right hand side |
| Description | Stage Git hunk |
|---|---|
| Left hand side | gs |
| Right hand side |
| Description | Stage Git buffer |
|---|---|
| Left hand side | gS |
| Right hand side |
| Description | Unstage Git hunk |
|---|---|
| Left hand side | gu |
| Right hand side |
| Description | View Git diff |
|---|---|
| Left hand side | gd |
| Right hand side |
| Description | Toggle Explorer |
|---|---|
| Left hand side | e |
| Right hand side | <Cmd>Neotree toggle<CR> |
| Description | Toggle Explorer Focus |
|---|---|
| Left hand side | o |
| Right hand side |
| Description | Load last session |
|---|---|
| Left hand side | Sl |
| Right hand side | <Cmd>SessionManager! load_last_session<CR> |
| Description | Save this session |
|---|---|
| Left hand side | Ss |
| Right hand side | <Cmd>SessionManager! save_current_session<CR> |
| Description | Delete session |
|---|---|
| Left hand side | Sd |
| Right hand side | <Cmd>SessionManager! delete_session<CR> |
| Description | Search sessions |
|---|---|
| Left hand side | Sf |
| Right hand side | <Cmd>SessionManager! load_session<CR> |
| Description | Load current directory session |
|---|---|
| Left hand side | S. |
| Right hand side | <Cmd>SessionManager! load_current_dir_session<CR> |
| Description | Toggle Notifications |
|---|---|
| Left hand side | uN |
| Right hand side |
| Description | Toggle paste mode |
|---|---|
| Left hand side | up |
| Right hand side |
| Description | Toggle spellcheck |
|---|---|
| Left hand side | us |
| Right hand side |
| Description | Mason Installer |
|---|---|
| Left hand side | pm |
| Right hand side | <Cmd>Mason<CR> |
| Description | Toggle conceal |
|---|---|
| Left hand side | uS |
| Right hand side |
| Description | Mason Update |
|---|---|
| Left hand side | pM |
| Right hand side | <Cmd>MasonUpdateAll<CR> |
| Description | Toggle URL highlight |
|---|---|
| Left hand side | uu |
| Right hand side |
| Description | Toggle wrap |
|---|---|
| Left hand side | uw |
| Right hand side |
| Description | Toggle syntax highlighting (buffer) |
|---|---|
| Left hand side | uy |
| Right hand side |
| Description | Toggle foldcolumn |
|---|---|
| Left hand side | uh |
| Right hand side |
| Description | Symbols outline |
|---|---|
| Left hand side | lS |
| Right hand side |
| Description | Git branches |
|---|---|
| Left hand side | gb |
| Right hand side |
| Description | Git commits (repository) |
|---|---|
| Left hand side | gc |
| Right hand side |
| Description | Git commits (current file) |
|---|---|
| Left hand side | gC |
| Right hand side |
| Description | Git status |
|---|---|
| Left hand side | gt |
| Right hand side |
| Description | Resume previous search |
|---|---|
| Left hand side | f<CR> |
| Right hand side |
| Description | Find marks |
|---|---|
| Left hand side | f' |
| Right hand side |
| Description | Find words in current buffer |
|---|---|
| Left hand side | f/ |
| Right hand side |
| Description | Find AstroNvim config files |
|---|---|
| Left hand side | fa |
| Right hand side |
| Description | |
|---|---|
| Left hand side | % |
| Right hand side | <Plug>(MatchitNormalForward) |
| Description | Nvim builtin |
|---|---|
| Left hand side | & |
| Right hand side | :&&<CR> |
| Description | Move buffer tab left |
|---|---|
| Left hand side | <lt>b |
| Right hand side |
| Description | Move buffer tab right |
|---|---|
| Left hand side | >b |
| Right hand side |
| Description | Nvim builtin |
|---|---|
| Left hand side | Y |
| Right hand side | y$ |
| Description | Previous buffer |
|---|---|
| Left hand side | [b |
| Right hand side |
| Description | Previous tab |
|---|---|
| Left hand side | [t |
| Right hand side |
| Description | Previous Git hunk |
|---|---|
| Left hand side | [g |
| Right hand side |
| Description | |
|---|---|
| Left hand side | [% |
| Right hand side | <Plug>(MatchitNormalMultiBackward) |
| Description | Horizontal split |
|---|---|
| Left hand side | \ |
| Right hand side | <Cmd>split<CR> |
| Description | Next buffer |
|---|---|
| Left hand side | ]b |
| Right hand side |
| Description | Next tab |
|---|---|
| Left hand side | ]t |
| Right hand side |
| Description | Next Git hunk |
|---|---|
| Left hand side | ]g |
| Right hand side |
| Description | |
|---|---|
| Left hand side | ]% |
| Right hand side | <Plug>(MatchitNormalMultiForward) |
| Description | Open the file under cursor with system app |
|---|---|
| Left hand side | gx |
| Right hand side |
| Description | |
|---|---|
| Left hand side | g% |
| Right hand side | <Plug>(MatchitNormalBackward) |
| Description | Comment toggle blockwise |
|---|---|
| Left hand side | gb |
| Right hand side |
| Description | Comment toggle linewise |
|---|---|
| Left hand side | gc |
| Right hand side |
| Description | Move cursor down |
|---|---|
| Left hand side | j |
| Right hand side | v:count == 0 ? 'gj' : 'j' |
| Description | Move cursor up |
|---|---|
| Left hand side | k |
| Right hand side | v:count == 0 ? 'gk' : 'k' |
| Description | Fold less |
|---|---|
| Left hand side | zr |
| Right hand side |
| Description | Open all folds |
|---|---|
| Left hand side | zR |
| Right hand side |
| Description | Close all folds |
|---|---|
| Left hand side | zM |
| Right hand side |
| Description | Fold more |
|---|---|
| Left hand side | zm |
| Right hand side |
| Description | Peek fold |
|---|---|
| Left hand side | zp |
| Right hand side |
| Description | Vertical split |
|---|---|
| Left hand side | | |
| Right hand side | <Cmd>vsplit<CR> |
| Description | Resize split up |
|---|---|
| Left hand side | <C-Up> |
| Right hand side |
| Description | Force write |
|---|---|
| Left hand side | <C-S> |
| Right hand side | <Cmd>w!<CR> |
| Description | Move to above split |
|---|---|
| Left hand side | <C-K> |
| Right hand side |
| Description | Force quit |
|---|---|
| Left hand side | <C-Q> |
| Right hand side | <Cmd>qa!<CR> |
| Description | Move to below split |
|---|---|
| Left hand side | <C-J> |
| Right hand side |
| Description | Toggle terminal |
|---|---|
| Left hand side | <F7> |
| Right hand side | <Cmd>ToggleTerm<CR> |
| Description | Resize split right |
|---|---|
| Left hand side | <C-Right> |
| Right hand side |
| Description | Toggle terminal |
|---|---|
| Left hand side | <C-'> |
| Right hand side | <Cmd>ToggleTerm<CR> |
| Description | Debugger: Start |
|---|---|
| Left hand side | <F5> |
| Right hand side |
| Description | Debugger: Stop |
|---|---|
| Left hand side | <F17> |
| Right hand side |
| Description | Debugger: Conditional Breakpoint |
|---|---|
| Left hand side | <F21> |
| Right hand side |
| Description | Debugger: Restart |
|---|---|
| Left hand side | <F29> |
| Right hand side |
| Description | Debugger: Pause |
|---|---|
| Left hand side | <F6> |
| Right hand side |
| Description | Debugger: Toggle Breakpoint |
|---|---|
| Left hand side | <F9> |
| Right hand side |
| Description | Debugger: Step Over |
|---|---|
| Left hand side | <F10> |
| Right hand side |
| Description | Debugger: Step Into |
|---|---|
| Left hand side | <F11> |
| Right hand side |
| Description | Debugger: Step Out |
|---|---|
| Left hand side | <F23> |
| Right hand side |
| Description | Move to left split |
|---|---|
| Left hand side | <C-H> |
| Right hand side |
| Description | Resize split down |
|---|---|
| Left hand side | <C-Down> |
| Right hand side |
| Description | Resize split left |
|---|---|
| Left hand side | <C-Left> |
| Right hand side |
| Description | |
|---|---|
| Left hand side | <Plug>(MatchitNormalMultiForward) |
| Right hand side | :<C-U>call matchit#MultiMatch("W", "n")<CR> |
| Description | |
|---|---|
| Left hand side | <Plug>(MatchitNormalMultiBackward) |
| Right hand side | :<C-U>call matchit#MultiMatch("bW", "n")<CR> |
| Description | |
|---|---|
| Left hand side | <Plug>(MatchitNormalBackward) |
| Right hand side | :<C-U>call matchit#Match_wrapper('',0,'n')<CR> |
| Description | |
|---|---|
| Left hand side | <Plug>(MatchitNormalForward) |
| Right hand side | :<C-U>call matchit#Match_wrapper('',1,'n')<CR> |
| Description | Move to right split |
|---|---|
| Left hand side | <C-L> |
| Right hand side |
Visual mode keymaps
| Description | Indent line |
|---|---|
| Left hand side | <Tab> |
| Right hand side | >gv |
| Description | Evaluate Input |
|---|---|
| Left hand side | dE |
| Right hand side |
| Description | Toggle comment for selection |
|---|---|
| Left hand side | / |
| Right hand side | <Esc><Cmd>lua require('Comment.api').toggle.linewise(vim.fn.visualmode())<CR> |
| Description | Nvim builtin |
|---|---|
| Left hand side | # |
| Right hand side | y?\V<C-R>"<CR> |
| Description | |
|---|---|
| Left hand side | % |
| Right hand side | <Plug>(MatchitVisualForward) |
| Description | Nvim builtin |
|---|---|
| Left hand side | * |
| Right hand side | y/\V<C-R>"<CR> |
| Description | |
|---|---|
| Left hand side | [% |
| Right hand side | <Plug>(MatchitVisualMultiBackward) |
| Description | |
|---|---|
| Left hand side | ]% |
| Right hand side | <Plug>(MatchitVisualMultiForward) |
| Description | |
|---|---|
| Left hand side | a% |
| Right hand side | <Plug>(MatchitVisualTextObject) |
| Description | |
|---|---|
| Left hand side | g% |
| Right hand side | <Plug>(MatchitVisualBackward) |
| Description | Comment toggle blockwise |
|---|---|
| Left hand side | gb |
| Right hand side |
| Description | Comment toggle linewise |
|---|---|
| Left hand side | gc |
| Right hand side |
| Description | Unindent line |
|---|---|
| Left hand side | <S-Tab> |
| Right hand side | <lt>gv |
| Description | |
|---|---|
| Left hand side | <Plug>(MatchitVisualTextObject) |
| Right hand side | <Plug>(MatchitVisualMultiBackward)o<Plug>(MatchitVisualMultiForward) |
| Description | |
|---|---|
| Left hand side | <Plug>(MatchitVisualMultiForward) |
| Right hand side | :<C-U>call matchit#MultiMatch("W", "n")<CR>m'gv`` |
| Description | |
|---|---|
| Left hand side | <Plug>(MatchitVisualMultiBackward) |
| Right hand side | :<C-U>call matchit#MultiMatch("bW", "n")<CR>m'gv`` |
| Description | |
|---|---|
| Left hand side | <Plug>(MatchitVisualBackward) |
| Right hand side | :<C-U>call matchit#Match_wrapper('',0,'v')<CR>m'gv`` |
| Description | |
|---|---|
| Left hand side | <Plug>(MatchitVisualForward) |
| Right hand side | :<C-U>call matchit#Match_wrapper('',1,'v')<CR>:if col("''") != col("$") | exe ":normal! m'" | endif<CR>gv`` |
Operator mode keymaps
| Description | |
|---|---|
| Left hand side | % |
| Right hand side | <Plug>(MatchitOperationForward) |
| Description | |
|---|---|
| Left hand side | [% |
| Right hand side | <Plug>(MatchitOperationMultiBackward) |
| Description | |
|---|---|
| Left hand side | ]% |
| Right hand side | <Plug>(MatchitOperationMultiForward) |
| Description | |
|---|---|
| Left hand side | g% |
| Right hand side | <Plug>(MatchitOperationBackward) |
| Description | |
|---|---|
| Left hand side | <Plug>(MatchitOperationMultiForward) |
| Right hand side | :<C-U>call matchit#MultiMatch("W", "o")<CR> |
| Description | |
|---|---|
| Left hand side | <Plug>(MatchitOperationMultiBackward) |
| Right hand side | :<C-U>call matchit#MultiMatch("bW", "o")<CR> |
| Description | |
|---|---|
| Left hand side | <Plug>(MatchitOperationBackward) |
| Right hand side | :<C-U>call matchit#Match_wrapper('',0,'o')<CR> |
| Description | |
|---|---|
| Left hand side | <Plug>(MatchitOperationForward) |
| Right hand side | :<C-U>call matchit#Match_wrapper('',1,'o')<CR> |