Home AstroNvimPlus
Post
Cancel

AstroNvimPlus

AstroNvimPlus Neovim Configuration Information

An example AstroNvim community plugins configuration

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

Git repository

https://github.com/doctorfree/astronvim

Website

https://astronvim.com

Lazy managed plugins

AstroNvimPlus Keymaps

normal mode keymaps

DescriptionLHSRHS 
Toggle backgroundub  
Toggle wrapuw  
Plugins Installpi  
Toggle color highlightuCColorizerToggle 
Toggle autocompletionuc  
Plugins SyncpS  
Plugins Check Updatespu  
Toggle signcolumnug  
Plugins UpdatepU  
Toggle REPLdR  
Change indent settingui  
Restart (C-F5)dr  
AstroNvim ChangelogplAstroChangelog 
Toggle statuslineul  
Pause (F6)dp  
Terminate Session (S-F5)dQ  
Toggle CodeLensuL  
AstroNvim VersionpvAstroVersion 
Close Sessiondq  
Change line numberingun  
Step Out (S-F11)dO  
AstroNvim UpdatepAAstroUpdate 
Toggle NotificationsuN  
Step Over (F10)do  
Force close bufferC  
Toggle paste modeup  
Step Into (F11)di  
Toggle spellcheckus  
Update Plugins and Mason PackagespaAstroUpdatePackages 
Close all buffers except currentbc  
Close all buffersbC  
Close bufferc  
Select buffer from tablinebb  
Close buffer from tablinebd  
Run To Cursords  
Close all buffers to the leftbl  
Toggle syntax highlightuy  
Previous bufferbp  
Toggle Debugger UIdu  
Close all buffers to the rightbr  
By extensionbse  
By relative pathbsr  
Search sessionsSfSessionManager! load_session 
By full pathbsp  
Plugins Statusps  
By buffer numberbsi  
By modificationbsm  
Symbols outlinelS  
Horizontal split buffer from tablineb\  
Vertical split buffer from tablineb  
Toggle concealuS  
Home Screenh  
Evaluate InputdE  
Toggle comment line/  
Pick to closebD  
New tabbntabnew 
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 Explorer Focuso  
Load last sessionSlSessionManager! load_last_session 
Save this sessionSsSessionManager! save_current_session 
Delete sessionSdSessionManager! delete_session 
Load current directory sessionS.SessionManager! load_current_dir_session 
Mason InstallerpmMason 
Mason UpdatepMMasonUpdateAll 
ToggleTerm lazygitgg  
ToggleTerm lazygittl  
ToggleTerm nodetn  
ToggleTerm gdutu  
ToggleTerm btmtt  
ToggleTerm pythontp  
ToggleTerm floattfToggleTerm direction=float 
ToggleTerm horizontal splitthToggleTerm size=10 direction=horizontal 
ToggleTerm vertical splittvToggleTerm size=80 direction=vertical 
Git branchesgb  
Git commits (repository)gc  
Git commits (current file)gC  
Git statusgt  
Toggle Breakpoint (F9)db  
Resume previous searchf  
Clear BreakpointsdB  
Find marksf’  
Start/Continue (F5)dc  
Find words in current bufferf/  
Conditional Breakpoint (S-F9)dC  
Find buffersfb  
Find word under cursorfc  
Find commandsfC  
Find filesff  
Find all filesfF  
Find helpfh  
Find keymapsfk  
Find manfm  
Find notificationsfn  
Find historyfo  
Find registersfr  
Debugger Hoverdh  
Find wordsfw  
Find words in all filesfW  
Search symbolsls  
Quitqconfirm q 
New Filenenew 
Find themesft  
Find AstroNvim config filesfa  
 geCamelCaseMotion_ge 
Toggle ExplorereNeotree toggle 
 bCamelCaseMotion_b 
Saveww 
Toggle Harpoonhh  
Go to Harpoon file 5h5  
Go to Harpoon file 4h4  
Go to Harpoon file 3h3  
Go to Harpoon file 2h2  
Go to Harpoon file 1h1  
Add file to Harpoonha  
Toggle foldcolumnuh  
Toggle URL highlightuu  
Toggle tablineut  
Toggle trouble for documentfd  
Command paletteP  
Breadcrumb searchfs  
Split/join blockm  
Split/join block recursivelyM  
Toggle Explorerue  
Toggle diagnosticsud  
Structural search and replacesr  
Toggle autopairsua  
Nvim builtin&:&& 
Move buffer tab leftb  
Move buffer tab right>b  
Nvim builtinYy$ 
Previous tab[t  
Previous Git hunk[g  
Previous buffer[b  
Previous Harpoon file[h  
Horizontal Split\split 
 \gS(VM-Reselect-Last) 
 \/(VM-Start-Regex-Search) 
 \\(VM-Add-Cursor-At-Pos) 
 \A(VM-Select-All) 
Next tab]t  
Next Git hunk]g  
Next buffer]b  
Next Harpoon file]h  
Open the file under cursor with system appgx  
Comment toggle blockwisegb  
Comment toggle linewisegc  
[keymap-amend.nvim]h  
Move cursor downjv:count == 0 ? ‘gj’ : ‘j’ 
Move cursor upkv:count == 0 ? ‘gk’ : ‘k’ 
[keymap-amend.nvim]l  
Fold lesszr  
Fold morezm  
Peek foldzp  
Close all foldszM  
Open all foldszR  
[keymap-amend.nvim]zc  
[keymap-amend.nvim]zO  
[keymap-amend.nvim]zo  
 zzlua require('neoscroll').zz(250) 
 zblua require('neoscroll').zb(250) 
 ztlua require('neoscroll').zt(250) 
Vertical Split  vsplit
Move to below split  
Move to left split  
Resize split left  
Resize split right  
Move to above split  
Toggle terminalToggleTerm 
Toggle terminal<C-‘>ToggleTerm 
Debugger: Start  
Debugger: Stop  
Debugger: Conditional Breakpoint  
Debugger: Restart  
Debugger: Pause  
Debugger: Toggle Breakpoint  
Debugger: Step Over  
Debugger: Step Into  
Debugger: Step Out  
Force writew! 
Force quitq! 
Resize split down  
Resize split up  
 (VM-Select-l) 
 (VM-Select-h) 
 (VM-Find-Under) 
 (VM-Select-BBW):call vm#commands#motion('BBW', v:count1, 1, 0) 
 (VM-Select-gE):call vm#commands#motion('gE', v:count1, 1, 0) 
 (VM-Select-ge):call vm#commands#motion('ge', v:count1, 1, 0) 
 (VM-Select-E):call vm#commands#motion('E', v:count1, 1, 0) 
 (VM-Select-e):call vm#commands#motion('e', v:count1, 1, 0) 
 (VM-Select-B):call vm#commands#motion('B', v:count1, 1, 0) 
 (VM-Select-b):call vm#commands#motion('b', v:count1, 1, 0) 
 (VM-Select-W):call vm#commands#motion('W', v:count1, 1, 0) 
 (VM-Select-w):call vm#commands#motion('w', v:count1, 1, 0) 
 (VM-Select-l):call vm#commands#motion('l', v:count1, 1, 0) 
 (VM-Select-k):call vm#commands#motion('k', v:count1, 1, 0) 
 (VM-Select-j):call vm#commands#motion('j', v:count1, 1, 0) 
 (VM-Select-h):call vm#commands#motion('h', v:count1, 1, 0) 
 (VM-Mouse-Column):call vm#commands#mouse_column() 
 (VM-Mouse-Word)(VM-Left-Mouse)(VM-Find-Under) 
 (VM-Mouse-Cursor)(VM-Left-Mouse)(VM-Add-Cursor-At-Pos) 
 (VM-Left-Mouse) 
 (VM-Slash-Search)@=vm#commands#find_by_regex(3) 
 (VM-Start-Regex-Search)@=vm#commands#find_by_regex(1) 
 (VM-Find-Under):call vm#commands#ctrln(v:count1) 
 (VM-Select-All):call vm#commands#find_all(0, 1) 
 (VM-Reselect-Last):call vm#commands#reselect_last() 
 (VM-Select-Cursor-Up):call vm#commands#add_cursor_up(1, v:count1) 
 (VM-Select-Cursor-Down):call vm#commands#add_cursor_down(1, v:count1) 
 (VM-Add-Cursor-Up):call vm#commands#add_cursor_up(0, v:count1) 
 (VM-Add-Cursor-Down):call vm#commands#add_cursor_down(0, v:count1) 
 (VM-Add-Cursor-At-Word):call vm#commands#add_cursor_at_word(1, 1) 
 (VM-Add-Cursor-At-Pos):call vm#commands#add_cursor_at_pos(0) 
 lua require('neoscroll').scroll(0.10, false, 100) 
 lua require('neoscroll').scroll(-vim.wo.scroll, true, 250) 
 lua require('neoscroll').scroll(vim.wo.scroll, true, 250) 
 lua require('neoscroll').scroll(-0.10, false, 100) 
 lua require('neoscroll').scroll(vim.api.nvim_win_get_height(0), true, 450) 
 lua require('neoscroll').scroll(-vim.api.nvim_win_get_height(0), true, 450) 
 CamelCaseMotion_ge:call camelcasemotion#Motion('ge',v:count1,'n') 
 CamelCaseMotion_e:call camelcasemotion#Motion('e',v:count1,'n') 
 CamelCaseMotion_b:call camelcasemotion#Motion('b',v:count1,'n') 
 CamelCaseMotion_w:call camelcasemotion#Motion('w',v:count1,'n') 
 luasnip-expand-repeatlua require'luasnip'.expand_repeat() 
 luasnip-delete-checklua require'luasnip'.unlink_current_if_deleted() 
 PlenaryTestFile:lua require(‘plenary.test_harness’).test_directory(vim.fn.expand(“%:p”)) 
Move to right split  

visual mode keymaps

DescriptionLHSRHS
Indent line>gv
Toggle comment for selection/lua require('Comment.api').toggle.linewise(vim.fn.visualmode())
Evaluate InputdE 
 geCamelCaseMotion_ge
 eCamelCaseMotion_e
 bCamelCaseMotion_b
 wCamelCaseMotion_w
Structural search and replacesr 
Nvim builtin#y?\V"
Nvim builtin*y/\V"
 @(targets):call targets#do()
 Atargets#e(‘o’, ‘A’, ‘A’)
 Itargets#e(‘o’, ‘I’, ‘I’)
 \c(VM-Visual-Cursors)
 \a(VM-Visual-Add)
 \f(VM-Visual-Find)
 \/(VM-Visual-Regex)
 \A(VM-Visual-All)
 atargets#e(‘o’, ‘a’, ‘a’)
Comment toggle blockwisegb 
Comment toggle linewisegc 
 i geCamelCaseMotion_ige
 i eCamelCaseMotion_ie
 i bCamelCaseMotion_ib
 i wCamelCaseMotion_iw
 itargets#e(‘o’, ‘i’, ‘i’)
 ztlua require('neoscroll').zt(250)
 zzlua require('neoscroll').zz(250)
 zblua require('neoscroll').zb(250)
Unindent linegv
 CamelCaseMotion_ige:call camelcasemotion#InnerMotion('ge',v:count1)
 CamelCaseMotion_ie:call camelcasemotion#InnerMotion('e',v:count1)
 CamelCaseMotion_ib:call camelcasemotion#InnerMotion('b',v:count1)
 CamelCaseMotion_iw:call camelcasemotion#InnerMotion('w',v:count1)
 CamelCaseMotion_ge:call camelcasemotion#Motion('ge',v:count1,'v')
 CamelCaseMotion_e:call camelcasemotion#Motion('e',v:count1,'v')
 CamelCaseMotion_b:call camelcasemotion#Motion('b',v:count1,'v')
 CamelCaseMotion_w:call camelcasemotion#Motion('w',v:count1,'v')
 :lua require(‘luasnip.util.util’).store_selection()gv"_s
 luasnip-expand-repeatlua require'luasnip'.expand_repeat()
 luasnip-delete-checklua require'luasnip'.unlink_current_if_deleted()
 lua require('neoscroll').scroll(-0.10, false, 100)
 lua require('neoscroll').scroll(0.10, false, 100)
 lua require('neoscroll').scroll(vim.wo.scroll, true, 250)
 lua require('neoscroll').scroll(vim.api.nvim_win_get_height(0), true, 450)
 lua require('neoscroll').scroll(-vim.api.nvim_win_get_height(0), true, 450)
 lua require('neoscroll').scroll(-vim.wo.scroll, true, 250)
 (VM-Find-Subword-Under)
 (VM-Visual-Regex):call vm#commands#find_by_regex(2):call feedkeys('/', 'n')
 (VM-Find-Subword-Under)6_Visual('under')
 (VM-Visual-Reduce):call vm#visual#reduce()
 (VM-Visual-Add):call vm#commands#visual_add()
 (VM-Visual-Cursors):call vm#commands#visual_cursors()
 (VM-Visual-All)6_Visual('all')
 (VM-Visual-Find)vm#operators#find(1, 1)

operator mode keymaps

DescriptionLHSRHS
 geCamelCaseMotion_ge
 eCamelCaseMotion_e
 bCamelCaseMotion_b
 wCamelCaseMotion_w
 @(targets):call targets#do()
 Atargets#e(‘o’, ‘A’, ‘A’)
 Itargets#e(‘o’, ‘I’, ‘I’)
 atargets#e(‘o’, ‘a’, ‘a’)
 itargets#e(‘o’, ‘i’, ‘i’)
 i geCamelCaseMotion_ige
 i eCamelCaseMotion_ie
 i bCamelCaseMotion_ib
 i wCamelCaseMotion_iw
 luasnip-expand-repeatlua require'luasnip'.expand_repeat()
 luasnip-delete-checklua require'luasnip'.unlink_current_if_deleted()
 CamelCaseMotion_ige:call camelcasemotion#InnerMotion('ge',v:count1)
 CamelCaseMotion_ie:call camelcasemotion#InnerMotion('e',v:count1)
 CamelCaseMotion_ib:call camelcasemotion#InnerMotion('b',v:count1)
 CamelCaseMotion_iw:call camelcasemotion#InnerMotion('w',v:count1)
 CamelCaseMotion_ge:call camelcasemotion#Motion('ge',v:count1,'o')
 CamelCaseMotion_e:call camelcasemotion#Motion('e',v:count1,'o')
 CamelCaseMotion_b:call camelcasemotion#Motion('b',v:count1,'o')
 CamelCaseMotion_w:call camelcasemotion#Motion('w',v:count1,'o')
This post is licensed under CC BY 4.0 by the author.
Contents

AstroNvimStart

-