Post

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

https://astronvim.com

Lazy managed plugins

Kabin Keymaps

Normal mode keymaps

DescriptionFind buffers
Left hand side fb
Right hand side 
DescriptionRestart (C-F5)
Left hand side dr
Right hand side 
DescriptionFind word under cursor
Left hand side fc
Right hand side 
DescriptionFind commands
Left hand side fC
Right hand side 
DescriptionToggle color highlight
Left hand side uC
Right hand side<Cmd>ColorizerToggle<CR>
DescriptionFind files
Left hand side ff
Right hand side 
DescriptionFind all files
Left hand side fF
Right hand side 
DescriptionFind help
Left hand side fh
Right hand side 
DescriptionFind keymaps
Left hand side fk
Right hand side 
DescriptionFind notifications
Left hand side fn
Right hand side 
DescriptionFind man
Left hand side fm
Right hand side 
DescriptionPlugins Update
Left hand side pU
Right hand side 
DescriptionPlugins Install
Left hand side pi
Right hand side 
DescriptionFind history
Left hand side fo
Right hand side 
DescriptionFind registers
Left hand side fr
Right hand side 
DescriptionSave
Left hand side w
Right hand side<Cmd>w<CR>
DescriptionFind themes
Left hand side ft
Right hand side 
DescriptionPlugins Status
Left hand side ps
Right hand side 
DescriptionFind words
Left hand side fw
Right hand side 
DescriptionQuit
Left hand side q
Right hand side<Cmd>confirm q<CR>
DescriptionFind words in all files
Left hand side fW
Right hand side 
DescriptionNew File
Left hand side n
Right hand side<Cmd>enew<CR>
DescriptionSearch symbols
Left hand side ls
Right hand side 
DescriptionAstroNvim Update
Left hand side pA
Right hand side<Cmd>AstroUpdate<CR>
DescriptionToggleTerm lazygit
Left hand side gg
Right hand side 
DescriptionToggleTerm lazygit
Left hand side tl
Right hand side 
DescriptionToggleTerm node
Left hand side tn
Right hand side 
DescriptionToggleTerm gdu
Left hand side tu
Right hand side 
DescriptionAstroNvim Changelog
Left hand side pl
Right hand side<Cmd>AstroChangelog<CR>
DescriptionToggleTerm btm
Left hand side tt
Right hand side 
DescriptionToggle tabline
Left hand side ut
Right hand side 
DescriptionToggleTerm python
Left hand side tp
Right hand side 
DescriptionToggleTerm float
Left hand side tf
Right hand side<Cmd>ToggleTerm direction=float<CR>
DescriptionPlugins Sync
Left hand side pS
Right hand side 
DescriptionToggleTerm horizontal split
Left hand side th
Right hand side<Cmd>ToggleTerm size=10 direction=horizontal<CR>
DescriptionPlugins Check Updates
Left hand side pu
Right hand side 
DescriptionToggleTerm vertical split
Left hand side tv
Right hand side<Cmd>ToggleTerm size=80 direction=vertical<CR>
DescriptionUpdate Plugins and Mason Packages
Left hand side pa
Right hand side<Cmd>AstroUpdatePackages<CR>
DescriptionToggle background
Left hand side ub
Right hand side 
DescriptionAstroNvim Version
Left hand side pv
Right hand side<Cmd>AstroVersion<CR>
DescriptionRun Browser
Left hand side r
Right hand side:exe ':silent !firefox %'<CR>
DescriptionView Highlight Group
Left hand side k
Right hand side:TSHighlightCapturesUnderCursor<CR>
DescriptionClose buffer
Left hand side c
Right hand side 
DescriptionForce close buffer
Left hand side C
Right hand side 
DescriptionSort by tabs
Left hand side bt
Right hand side<Cmd>BufferLineSortByTabs<CR>
DescriptionZen Mode
Left hand side z
Right hand side<Cmd>ZenMode<CR>
DescriptionPick to jump
Left hand side bj
Right hand side<Cmd>BufferLinePick<CR>
DescriptionPick to close
Left hand side bc
Right hand side<Cmd>BufferLinePickClose<CR>
DescriptionToggle Breakpoint (F9)
Left hand side db
Right hand side 
DescriptionClose all buffers
Left hand side bC
Right hand side 
DescriptionClear Breakpoints
Left hand side dB
Right hand side 
DescriptionClose all buffers to the left
Left hand side bl
Right hand side 
DescriptionStart/Continue (F5)
Left hand side dc
Right hand side 
DescriptionPrevious buffer
Left hand side bp
Right hand side 
DescriptionConditional Breakpoint (S-F9)
Left hand side dC
Right hand side 
DescriptionClose all buffers to the right
Left hand side br
Right hand side 
DescriptionStep Into (F11)
Left hand side di
Right hand side 
DescriptionStep Over (F10)
Left hand side do
Right hand side 
DescriptionStep Out (S-F11)
Left hand side dO
Right hand side 
DescriptionClose Session
Left hand side dq
Right hand side 
DescriptionTerminate Session (S-F5)
Left hand side dQ
Right hand side 
DescriptionPause (F6)
Left hand side dp
Right hand side 
DescriptionToggle autopairs
Left hand side ua
Right hand side 
DescriptionToggle REPL
Left hand side dR
Right hand side 
DescriptionRun To Cursor
Left hand side ds
Right hand side 
DescriptionEvaluate Input
Left hand side dE
Right hand side 
DescriptionToggle autocompletion
Left hand side uc
Right hand side 
DescriptionToggle Debugger UI
Left hand side du
Right hand side 
DescriptionDebugger Hover
Left hand side dh
Right hand side 
DescriptionToggle diagnostics
Left hand side ud
Right hand side 
DescriptionHighlight groups
Left hand side sg
Right hand side<Cmd>Telescope highlights<CR>
DescriptionToggle signcolumn
Left hand side ug
Right hand side 
DescriptionChange indent setting
Left hand side ui
Right hand side 
DescriptionToggle statusline
Left hand side ul
Right hand side 
DescriptionToggle CodeLens
Left hand side uL
Right hand side 
DescriptionChange line numbering
Left hand side un
Right hand side 
DescriptionBy extension
Left hand side bse
Right hand side 
DescriptionBy relative path
Left hand side bsr
Right hand side 
DescriptionBy full path
Left hand side bsp
Right hand side 
DescriptionBy buffer number
Left hand side bsi
Right hand side 
DescriptionBy modification
Left hand side bsm
Right hand side 
DescriptionNew tab
Left hand side bb
Right hand side<Cmd>tabnew<CR>
DescriptionClose buffer from tabline
Left hand side bd
Right hand side 
DescriptionHorizontal split buffer from tabline
Left hand side b\
Right hand side 
DescriptionVertical split buffer from tabline
Left hand side b|
Right hand side 
DescriptionToggle comment line
Left hand side /
Right hand side 
DescriptionView Git blame
Left hand side gl
Right hand side 
DescriptionView full Git blame
Left hand side gL
Right hand side 
DescriptionPreview Git hunk
Left hand side gp
Right hand side 
DescriptionReset Git hunk
Left hand side gh
Right hand side 
DescriptionReset Git buffer
Left hand side gr
Right hand side 
DescriptionStage Git hunk
Left hand side gs
Right hand side 
DescriptionStage Git buffer
Left hand side gS
Right hand side 
DescriptionUnstage Git hunk
Left hand side gu
Right hand side 
DescriptionView Git diff
Left hand side gd
Right hand side 
DescriptionToggle Explorer
Left hand side e
Right hand side<Cmd>Neotree toggle<CR>
DescriptionToggle Explorer Focus
Left hand side o
Right hand side 
DescriptionLoad last session
Left hand side Sl
Right hand side<Cmd>SessionManager! load_last_session<CR>
DescriptionSave this session
Left hand side Ss
Right hand side<Cmd>SessionManager! save_current_session<CR>
DescriptionDelete session
Left hand side Sd
Right hand side<Cmd>SessionManager! delete_session<CR>
DescriptionSearch sessions
Left hand side Sf
Right hand side<Cmd>SessionManager! load_session<CR>
DescriptionLoad current directory session
Left hand side S.
Right hand side<Cmd>SessionManager! load_current_dir_session<CR>
DescriptionToggle Notifications
Left hand side uN
Right hand side 
DescriptionToggle paste mode
Left hand side up
Right hand side 
DescriptionToggle spellcheck
Left hand side us
Right hand side 
DescriptionMason Installer
Left hand side pm
Right hand side<Cmd>Mason<CR>
DescriptionToggle conceal
Left hand side uS
Right hand side 
DescriptionMason Update
Left hand side pM
Right hand side<Cmd>MasonUpdateAll<CR>
DescriptionToggle URL highlight
Left hand side uu
Right hand side 
DescriptionToggle wrap
Left hand side uw
Right hand side 
DescriptionToggle syntax highlighting (buffer)
Left hand side uy
Right hand side 
DescriptionToggle foldcolumn
Left hand side uh
Right hand side 
DescriptionSymbols outline
Left hand side lS
Right hand side 
DescriptionGit branches
Left hand side gb
Right hand side 
DescriptionGit commits (repository)
Left hand side gc
Right hand side 
DescriptionGit commits (current file)
Left hand side gC
Right hand side 
DescriptionGit status
Left hand side gt
Right hand side 
DescriptionResume previous search
Left hand side f<CR>
Right hand side 
DescriptionFind marks
Left hand side f'
Right hand side 
DescriptionFind words in current buffer
Left hand side f/
Right hand side 
DescriptionFind AstroNvim config files
Left hand side fa
Right hand side 
Description 
Left hand side%
Right hand side<Plug>(MatchitNormalForward)
DescriptionNvim builtin
Left hand side&
Right hand side:&&<CR>
DescriptionMove buffer tab left
Left hand side<lt>b
Right hand side 
DescriptionMove buffer tab right
Left hand side>b
Right hand side 
DescriptionNvim builtin
Left hand sideY
Right hand sidey$
DescriptionPrevious buffer
Left hand side[b
Right hand side 
DescriptionPrevious tab
Left hand side[t
Right hand side 
DescriptionPrevious Git hunk
Left hand side[g
Right hand side 
Description 
Left hand side[%
Right hand side<Plug>(MatchitNormalMultiBackward)
DescriptionHorizontal split
Left hand side\
Right hand side<Cmd>split<CR>
DescriptionNext buffer
Left hand side]b
Right hand side 
DescriptionNext tab
Left hand side]t
Right hand side 
DescriptionNext Git hunk
Left hand side]g
Right hand side 
Description 
Left hand side]%
Right hand side<Plug>(MatchitNormalMultiForward)
DescriptionOpen the file under cursor with system app
Left hand sidegx
Right hand side 
Description 
Left hand sideg%
Right hand side<Plug>(MatchitNormalBackward)
DescriptionComment toggle blockwise
Left hand sidegb
Right hand side 
DescriptionComment toggle linewise
Left hand sidegc
Right hand side 
DescriptionMove cursor down
Left hand sidej
Right hand sidev:count == 0 ? 'gj' : 'j'
DescriptionMove cursor up
Left hand sidek
Right hand sidev:count == 0 ? 'gk' : 'k'
DescriptionFold less
Left hand sidezr
Right hand side 
DescriptionOpen all folds
Left hand sidezR
Right hand side 
DescriptionClose all folds
Left hand sidezM
Right hand side 
DescriptionFold more
Left hand sidezm
Right hand side 
DescriptionPeek fold
Left hand sidezp
Right hand side 
DescriptionVertical split
Left hand side|
Right hand side<Cmd>vsplit<CR>
DescriptionResize split up
Left hand side<C-Up>
Right hand side 
DescriptionForce write
Left hand side<C-S>
Right hand side<Cmd>w!<CR>
DescriptionMove to above split
Left hand side<C-K>
Right hand side 
DescriptionForce quit
Left hand side<C-Q>
Right hand side<Cmd>qa!<CR>
DescriptionMove to below split
Left hand side<C-J>
Right hand side 
DescriptionToggle terminal
Left hand side<F7>
Right hand side<Cmd>ToggleTerm<CR>
DescriptionResize split right
Left hand side<C-Right>
Right hand side 
DescriptionToggle terminal
Left hand side<C-'>
Right hand side<Cmd>ToggleTerm<CR>
DescriptionDebugger: Start
Left hand side<F5>
Right hand side 
DescriptionDebugger: Stop
Left hand side<F17>
Right hand side 
DescriptionDebugger: Conditional Breakpoint
Left hand side<F21>
Right hand side 
DescriptionDebugger: Restart
Left hand side<F29>
Right hand side 
DescriptionDebugger: Pause
Left hand side<F6>
Right hand side 
DescriptionDebugger: Toggle Breakpoint
Left hand side<F9>
Right hand side 
DescriptionDebugger: Step Over
Left hand side<F10>
Right hand side 
DescriptionDebugger: Step Into
Left hand side<F11>
Right hand side 
DescriptionDebugger: Step Out
Left hand side<F23>
Right hand side 
DescriptionMove to left split
Left hand side<C-H>
Right hand side 
DescriptionResize split down
Left hand side<C-Down>
Right hand side 
DescriptionResize 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>
DescriptionMove to right split
Left hand side<C-L>
Right hand side 

Visual mode keymaps

DescriptionIndent line
Left hand side<Tab>
Right hand side>gv
DescriptionEvaluate Input
Left hand side dE
Right hand side 
DescriptionToggle comment for selection
Left hand side /
Right hand side<Esc><Cmd>lua require('Comment.api').toggle.linewise(vim.fn.visualmode())<CR>
DescriptionNvim builtin
Left hand side#
Right hand sidey?\V<C-R>"<CR>
Description 
Left hand side%
Right hand side<Plug>(MatchitVisualForward)
DescriptionNvim builtin
Left hand side*
Right hand sidey/\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 sidea%
Right hand side<Plug>(MatchitVisualTextObject)
Description 
Left hand sideg%
Right hand side<Plug>(MatchitVisualBackward)
DescriptionComment toggle blockwise
Left hand sidegb
Right hand side 
DescriptionComment toggle linewise
Left hand sidegc
Right hand side 
DescriptionUnindent 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 sideg%
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>