Home Lamia


Lamia Neovim Configuration Information

One of the AstroNvim ‘Black Belt’ example advanced configurations

  • Install and initialize: lazyman -x Lamia
  • Configuration category: Starter
  • Base configuration: AstroNvim
  • Plugin manager: Lazy
  • Installation location: ~/.config/nvim-Lamia

Git repository




Lazy managed plugins

Lamia Keymaps

normal mode keymaps

Toggle wrapuw  
Load current directory sessionS.SessionManager! load_current_dir_session 
Toggle spellcheckus  
Toggle CodeLensuL  
Toggle statuslineul  
Change indent settingui  
Toggle diagnosticsud  
Toggle autocompletionuc  
Mason InstallerpmMason 
Toggle REPLdR  
Mason UpdatepMMasonUpdateAll 
Plugins Installpi  
AstroNvim VersionpvAstroVersion 
AstroNvim ChangelogplAstroChangelog 
Find marksf’  
Find registersfr  
Close all buffersbC  
ToggleTerm pythontp  
Symbols outlinelS  
Git branchesgb  
Plugins UpdatepU  
Git commits (repository)gc  
Git commits (current file)gC  
Git statusgt  
Resume previous searchf  
Toggle Aerialu1AerialToggle 
Find words in current bufferf/  
Find AstroNvim config filesfa  
Find buffersfb  
Find word under cursorfc  
Find commandsfC  
Find filesff  
AstroNvim UpdatepAAstroUpdate 
Find all filesfF  
Find helpfh  
Find keymapsfk  
Toggle tablineut  
Find manfm  
Toggle backgroundub  
Find notificationsfn  
ToggleTerm floattfToggleTerm direction=float 
Find historyfo  
Toggle color highlightuCColorizerToggle 
Find themesft  
Find wordsfw  
Find words in all filesfW  
Toggle signcolumnug  
Search symbolsls  
ToggleTerm lazygitgg  
ToggleTerm lazygittl  
ToggleTerm nodetn  
ToggleTerm gdutu  
ToggleTerm btmtt  
Change line numberingun  
Toggle NotificationsuN  
Toggle paste modeup  
ToggleTerm horizontal splitthToggleTerm size=10 direction=horizontal 
ToggleTerm vertical splittvToggleTerm size=80 direction=vertical 
Toggle concealuS  
Toggle URL highlightuu  
Toggle syntax highlightuy  
Toggle autopairsua  
Toggle foldcolumnuh  
Toggle Breakpoint (F9)db  
Clear BreakpointsdB  
Start/Continue (F5)dc  
Conditional Breakpoint (S-F9)dC  
Step Into (F11)di  
Step Over (F10)do  
Step Out (S-F11)dO  
Close Sessiondq  
Terminate Session (S-F5)dQ  
Pause (F6)dp  
Restart (C-F5)dr  
Run To Cursords  
Quitqconfirm q 
Evaluate InputdE  
Toggle Debugger UIdu  
Debugger Hoverdh  
Close bufferc  
Force close bufferC  
Plugins Statusps  
Plugins SyncpS  
Plugins Check Updatespu  
Close all buffers except currentbc  
Update Plugins and Mason PackagespaAstroUpdatePackages 
Select buffer from tablinebb  
Close buffer from tablinebd  
Close all buffers to the leftbl  
Previous bufferbp  
Close all buffers to the rightbr  
By extensionbse  
By relative pathbsr  
By full pathbsp  
By buffer numberbsi  
By modificationbsm  
Horizontal split buffer from tablineb\  
Vertical split buffer from tablineb  
Toggle comment line/  
View Git blamegl  
View full Git blamegL  
Preview Git hunkgp  
Reset Git hunkgh  
Reset Git buffergr  
Stage Git hunkgs  
Stage Git buffergS  
Unstage Git hunkgu  
View Git diffgd  
Toggle ExplorereNeotree toggle 
Toggle Explorer Focuso  
Load last sessionSlSessionManager! load_last_session 
Save this sessionSsSessionManager! save_current_session 
Delete sessionSdSessionManager! delete_session 
Search sessionsSfSessionManager! load_session 
New Filenenew 
Nvim builtin&:&& 
Move buffer tab leftb  
Move buffer tab right>b  
Previous bufferH  
Next bufferL  
previous search with center and unfoldN  
Nvim builtinYy$ 
Previous Git hunk[g  
Previous buffer[b  
Previous tab[t  
Horizontal Split\split 
Next Git hunk]g  
Next buffer]b  
Next tab]t  
Open the file under cursor with system appgx  
 gF:call fetch#cfile(v:count1) 
Grapple tag popup menugp:GrapplePopup tags 
Tags current buffergt:GrappleToggle 
Comment toggle blockwisegb  
Comment toggle linewisegc  
Move cursor downjv:count == 0 ? ‘gj’ : ‘j’ 
Move cursor upkv:count == 0 ? ‘gk’ : ‘k’ 
Next search with center and unfoldn  
Fold lesszr  
Open all foldszR  
Close all foldszM  
Fold morezm  
Peek foldzp  
Vertical Split  vsplit
Debugger: Toggle Breakpoint  
Toggle terminalToggleTerm 
Move to left split  
Resize split up  
Resize split down  
Resize split left  
Resize split right  
Move to above split  
Force writew! 
Next buffer  
Previous buffer  
Debugger: Start  
Toggle terminal<C-‘>ToggleTerm 
Debugger: Stop  
Debugger: Conditional Breakpoint  
Debugger: Restart  
Debugger: Pause  
Debugger: Step Over  
Debugger: Step Into  
Debugger: Step Out  
Force quitq! 
Move to below split  
 (MatchitNormalMultiForward):call matchit#MultiMatch("W", "n") 
 (MatchitNormalMultiBackward):call matchit#MultiMatch("bW", "n") 
 (MatchitNormalBackward):call matchit#Match_wrapper('',0,'n') 
 (MatchitNormalForward):call matchit#Match_wrapper('',1,'n') 
 PlenaryTestFile:lua require(‘plenary.test_harness’).test_directory(vim.fn.expand(“%:p”)) 
Move to right split  

visual mode keymaps

Indent line>gv  
Toggle comment for selection/lua require('Comment.api').toggle.linewise(vim.fn.visualmode())  
Evaluate InputdE   
Nvim builtin#y?\V"  
Nvim builtin*y/\V"  
 gF:call fetch#visual(v:count1)  
Comment toggle blockwisegb   
Comment toggle linewisegc   
Unindent linegv  
 (MatchitVisualMultiForward):call matchit#MultiMatch("W", "n")m'gv``  
 (MatchitVisualMultiBackward):call matchit#MultiMatch("bW", "n")m'gv``  
 (MatchitVisualBackward):call matchit#Match_wrapper('',0,'v')m'gv``  
 (MatchitVisualForward):call matchit#Match_wrapper('',1,'v'):if col("''") != col("$")exe “:normal! m’”endifgv``

operator mode keymaps

 (MatchitOperationMultiForward):call matchit#MultiMatch("W", "o")
 (MatchitOperationMultiBackward):call matchit#MultiMatch("bW", "o")
 (MatchitOperationBackward):call matchit#Match_wrapper('',0,'o')
 (MatchitOperationForward):call matchit#Match_wrapper('',1,'o')
This post is licensed under CC BY 4.0 by the author.