Post

LamarVim Neovim Configuration Information

Personal Neovim configuration of Cassio Lamarck

  • Install and initialize: lazyman -w LamarVim
  • Configuration category: Personal
  • Base configuration: Custom
  • Plugin manager: Lazy
  • Installation location: ~/.config/nvim-LamarVim

Git repository

https://github.com/Lamarcke/dotfiles

Dotfyle entry

https://dotfyle.com/Lamarcke/dotfiles-config-nvim

Lazy managed plugins

LamarVim Keymaps

Normal mode keymaps

Description 
Left hand side<Esc>
Right hand side<Cmd>noh<CR><Esc>
DescriptionAlpha Dashboard
Left hand side ;
Right hand side<Cmd>Alpha<CR>
DescriptionClose buffer
Left hand side c
Right hand side<Cmd>BufferKill<CR>
DescriptionQuit all
Left hand side q
Right hand side<Cmd>qa!<CR>
DescriptionSave all
Left hand side w
Right hand side<Cmd>wa!<CR>
DescriptionNo HL Search
Left hand side h
Right hand side<Cmd>nohl<CR>
DescriptionLazydocker
Left hand side sd
Right hand side 
DescriptionLazygit
Left hand side sg
Right hand side 
Description 
Left hand side%
Right hand side<Plug>(MatchitNormalForward)
DescriptionNvim builtin
Left hand side&
Right hand side:&&<CR>
Description 
Left hand sideD
Right hand side"_D
DescriptionShow error diagnostics
Left hand sideE
Right hand side 
Description 
Left hand sideJ
Right hand sidemzJ`z
DescriptionHover
Left hand sideK
Right hand side 
DescriptionNvim builtin
Left hand sideY
Right hand sidey$
DescriptionGo to previous error
Left hand side[d
Right hand side 
Description 
Left hand side[%
Right hand side<Plug>(MatchitNormalMultiBackward)
Description 
Left hand side\\gS
Right hand side<Plug>(VM-Reselect-Last)
Description 
Left hand side\\/
Right hand side<Plug>(VM-Start-Regex-Search)
Description 
Left hand side\\\
Right hand side<Plug>(VM-Add-Cursor-At-Pos)
Description 
Left hand side\\A
Right hand side<Plug>(VM-Select-All)
DescriptionGo to next error
Left hand side]d
Right hand side 
Description 
Left hand side]%
Right hand side<Plug>(MatchitNormalMultiForward)
Description 
Left hand sided
Right hand side"_d
DescriptionShow code actions
Left hand sidega
Right hand side 
DescriptionGo to type definition
Left hand sidegt
Right hand side 
DescriptionShow signature help
Left hand sidegs
Right hand side 
DescriptionGo to declaration
Left hand sidegD
Right hand side 
DescriptionGo to references
Left hand sidegf
Right hand side 
DescriptionGo to implementation
Left hand sidegi
Right hand side 
DescriptionGo to definition
Left hand sidegd
Right hand side 
Description 
Left hand sidegx
Right hand side<Plug>NetrwBrowseX
Description 
Left hand sideg%
Right hand side<Plug>(MatchitNormalBackward)
DescriptionComment insert end of line
Left hand sidegcA
Right hand side 
DescriptionComment insert above
Left hand sidegcO
Right hand side 
DescriptionComment insert below
Left hand sidegco
Right hand side 
DescriptionComment toggle current block
Left hand sidegbc
Right hand side 
DescriptionComment toggle current line
Left hand sidegcc
Right hand side 
DescriptionComment toggle blockwise
Left hand sidegb
Right hand side<Plug>(comment_toggle_blockwise)
DescriptionComment toggle linewise
Left hand sidegc
Right hand side<Plug>(comment_toggle_linewise)
Description 
Left hand sidej
Right hand sidev:count == 0 ? 'gj' : 'j'
Description 
Left hand sidek
Right hand sidev:count == 0 ? 'gk' : 'k'
Description 
Left hand sidezb
Right hand side<Cmd>lua require('neoscroll').zb(250)<CR>
Description 
Left hand sidezz
Right hand side<Cmd>lua require('neoscroll').zz(250)<CR>
Description 
Left hand sidezt
Right hand side<Cmd>lua require('neoscroll').zt(250)<CR>
DescriptionTerminal window
Left hand side<M-4>
Right hand side<Cmd>2ToggleTerm dir=CWD direction=float<CR>
DescriptionRun window
Left hand side<M-3>
Right hand side<Cmd>1ToggleTerm dir=CWD direction=float<CR>
DescriptionFile navigation
Left hand side<M-1>
Right hand side<Cmd>NvimTreeToggle<CR>
Description 
Left hand side<M-H>
Right hand side<Cmd>BufferLineMovePrev<CR>
Description 
Left hand side<M-L>
Right hand side<Cmd>BufferLineMoveNext<CR>
Description 
Left hand side<M-Q>
Right hand side<Cmd>BufferLineCloseOthers<CR>
Description 
Left hand side<M-q>
Right hand side<Cmd>BufferKill<CR>
Description 
Left hand side<M-c>
Right hand side<Cmd>BufferLinePick<CR>
Description 
Left hand side<M-h>
Right hand side<Cmd>BufferLineCyclePrev<CR>
Description 
Left hand side<M-l>
Right hand side<Cmd>BufferLineCycleNext<CR>
DescriptionIncrease window width
Left hand side<C-Right>
Right hand side<Cmd>vertical resize +2<CR>
DescriptionDecrease window width
Left hand side<C-Left>
Right hand side<Cmd>vertical resize -2<CR>
DescriptionGo to upper window
Left hand side<C-K>
Right hand side<C-W>k
DescriptionGo to lower window
Left hand side<C-J>
Right hand side<C-W>j
DescriptionGo to left window
Left hand side<C-H>
Right hand side<C-W>h
DescriptionMove lines
Left hand side<M-k>
Right hand side:m .-2<CR>==
DescriptionMove lines
Left hand side<M-j>
Right hand side:m .+1<CR>==
Description 
Left hand side<Plug>NetrwBrowseX
Right hand side:call netrw#BrowseX(netrw#GX(),netrw#CheckIfRemote(netrw#GX()))<CR>
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 
Left hand side<Plug>luasnip-expand-repeat
Right hand side 
Description 
Left hand side<Plug>luasnip-delete-check
Right hand side 
DescriptionMove to previous reference
Left hand side<M-p>
Right hand side 
DescriptionMove to next reference
Left hand side<M-n>
Right hand side 
DescriptionDecrease window height
Left hand side<C-Down>
Right hand side<Cmd>resize -2<CR>
DescriptionIncrease window height
Left hand side<C-Up>
Right hand side<Cmd>resize +2<CR>
Description 
Left hand side<S-Right>
Right hand side<Plug>(VM-Select-l)
Description 
Left hand side<S-Left>
Right hand side<Plug>(VM-Select-h)
Description 
Left hand side<C-N>
Right hand side<Plug>(VM-Find-Under)
Description 
Left hand side<Plug>(VM-Select-BBW)
Right hand side:<C-U>call vm#commands#motion('BBW', v:count1, 1, 0)<CR>
Description 
Left hand side<Plug>(VM-Select-gE)
Right hand side:<C-U>call vm#commands#motion('gE', v:count1, 1, 0)<CR>
Description 
Left hand side<Plug>(VM-Select-ge)
Right hand side:<C-U>call vm#commands#motion('ge', v:count1, 1, 0)<CR>
Description 
Left hand side<Plug>(VM-Select-E)
Right hand side:<C-U>call vm#commands#motion('E', v:count1, 1, 0)<CR>
Description 
Left hand side<Plug>(VM-Select-e)
Right hand side:<C-U>call vm#commands#motion('e', v:count1, 1, 0)<CR>
Description 
Left hand side<Plug>(VM-Select-B)
Right hand side:<C-U>call vm#commands#motion('B', v:count1, 1, 0)<CR>
Description 
Left hand side<Plug>(VM-Select-b)
Right hand side:<C-U>call vm#commands#motion('b', v:count1, 1, 0)<CR>
Description 
Left hand side<Plug>(VM-Select-W)
Right hand side:<C-U>call vm#commands#motion('W', v:count1, 1, 0)<CR>
Description 
Left hand side<Plug>(VM-Select-w)
Right hand side:<C-U>call vm#commands#motion('w', v:count1, 1, 0)<CR>
Description 
Left hand side<Plug>(VM-Select-l)
Right hand side:<C-U>call vm#commands#motion('l', v:count1, 1, 0)<CR>
Description 
Left hand side<Plug>(VM-Select-k)
Right hand side:<C-U>call vm#commands#motion('k', v:count1, 1, 0)<CR>
Description 
Left hand side<Plug>(VM-Select-j)
Right hand side:<C-U>call vm#commands#motion('j', v:count1, 1, 0)<CR>
Description 
Left hand side<Plug>(VM-Select-h)
Right hand side:<C-U>call vm#commands#motion('h', v:count1, 1, 0)<CR>
Description 
Left hand side<Plug>(VM-Mouse-Column)
Right hand side:call vm#commands#mouse_column()<CR>
Description 
Left hand side<Plug>(VM-Mouse-Word)
Right hand side<Plug>(VM-Left-Mouse)<Plug>(VM-Find-Under)
Description 
Left hand side<Plug>(VM-Mouse-Cursor)
Right hand side<Plug>(VM-Left-Mouse)<Plug>(VM-Add-Cursor-At-Pos)
Description 
Left hand side<Plug>(VM-Left-Mouse)
Right hand side<LeftMouse>
Description 
Left hand side<Plug>(VM-Slash-Search)
Right hand side@=vm#commands#find_by_regex(3)<CR>
Description 
Left hand side<Plug>(VM-Start-Regex-Search)
Right hand side@=vm#commands#find_by_regex(1)<CR>
Description 
Left hand side<Plug>(VM-Find-Under)
Right hand side:<C-U>call vm#commands#ctrln(v:count1)<CR>
Description 
Left hand side<Plug>(VM-Select-All)
Right hand side:call vm#commands#find_all(0, 1)<CR>
Description 
Left hand side<Plug>(VM-Reselect-Last)
Right hand side:call vm#commands#reselect_last()<CR>
Description 
Left hand side<Plug>(VM-Select-Cursor-Up)
Right hand side:<C-U>call vm#commands#add_cursor_up(1, v:count1)<CR>
Description 
Left hand side<Plug>(VM-Select-Cursor-Down)
Right hand side:<C-U>call vm#commands#add_cursor_down(1, v:count1)<CR>
Description 
Left hand side<Plug>(VM-Add-Cursor-Up)
Right hand side:<C-U>call vm#commands#add_cursor_up(0, v:count1)<CR>
Description 
Left hand side<Plug>(VM-Add-Cursor-Down)
Right hand side:<C-U>call vm#commands#add_cursor_down(0, v:count1)<CR>
Description 
Left hand side<Plug>(VM-Add-Cursor-At-Word)
Right hand side:call vm#commands#add_cursor_at_word(1, 1)<CR>
Description 
Left hand side<Plug>(VM-Add-Cursor-At-Pos)
Right hand side:call vm#commands#add_cursor_at_pos(0)<CR>
Description 
Left hand side<C-Y>
Right hand side<Cmd>lua require('neoscroll').scroll(-0.10, false, 100)<CR>
Description 
Left hand side<C-B>
Right hand side<Cmd>lua require('neoscroll').scroll(-vim.api.nvim_win_get_height(0), true, 450)<CR>
Description 
Left hand side<C-F>
Right hand side<Cmd>lua require('neoscroll').scroll(vim.api.nvim_win_get_height(0), true, 450)<CR>
Description 
Left hand side<C-U>
Right hand side<Cmd>lua require('neoscroll').scroll(-vim.wo.scroll, true, 250)<CR>
Description 
Left hand side<C-D>
Right hand side<Cmd>lua require('neoscroll').scroll(vim.wo.scroll, true, 250)<CR>
Description 
Left hand side<C-E>
Right hand side<Cmd>lua require('neoscroll').scroll(0.10, false, 100)<CR>
DescriptionComment toggle blockwise with count
Left hand side<Plug>(comment_toggle_blockwise_count)
Right hand side 
DescriptionComment toggle linewise with count
Left hand side<Plug>(comment_toggle_linewise_count)
Right hand side 
DescriptionComment toggle current block
Left hand side<Plug>(comment_toggle_blockwise_current)
Right hand side 
DescriptionComment toggle current line
Left hand side<Plug>(comment_toggle_linewise_current)
Right hand side 
DescriptionComment toggle blockwise
Left hand side<Plug>(comment_toggle_blockwise)
Right hand side 
DescriptionComment toggle linewise
Left hand side<Plug>(comment_toggle_linewise)
Right hand side 
Description 
Left hand side<Plug>PlenaryTestFile
Right hand side:lua require('plenary.test_harness').test_directory(vim.fn.expand("%:p"))<CR>
DescriptionGo to right window
Left hand side<C-L>
Right hand side<C-W>l

Visual mode keymaps

DescriptionAlpha Dashboard
Left hand side ;
Right hand side<Cmd>Alpha<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<lt>
Right hand side<lt>gv
Description 
Left hand side>
Right hand side>gv
Description 
Left hand sideD
Right hand side"_D
Description 
Left hand side[%
Right hand side<Plug>(MatchitVisualMultiBackward)
Description 
Left hand side\\c
Right hand side<Plug>(VM-Visual-Cursors)
Description 
Left hand side\\a
Right hand side<Plug>(VM-Visual-Add)
Description 
Left hand side\\f
Right hand side<Plug>(VM-Visual-Find)
Description 
Left hand side\\/
Right hand side<Plug>(VM-Visual-Regex)
Description 
Left hand side\\A
Right hand side<Plug>(VM-Visual-All)
Description 
Left hand side]%
Right hand side<Plug>(MatchitVisualMultiForward)
Description 
Left hand sidea%
Right hand side<Plug>(MatchitVisualTextObject)
Description 
Left hand sided
Right hand side"_d
Description 
Left hand sidegx
Right hand side<Plug>NetrwBrowseXVis
Description 
Left hand sideg%
Right hand side<Plug>(MatchitVisualBackward)
DescriptionComment toggle blockwise (visual)
Left hand sidegb
Right hand side<Plug>(comment_toggle_blockwise_visual)
DescriptionComment toggle linewise (visual)
Left hand sidegc
Right hand side<Plug>(comment_toggle_linewise_visual)
Description 
Left hand sidezb
Right hand side<Cmd>lua require('neoscroll').zb(250)<CR>
Description 
Left hand sidezt
Right hand side<Cmd>lua require('neoscroll').zt(250)<CR>
Description 
Left hand sidezz
Right hand side<Cmd>lua require('neoscroll').zz(250)<CR>
DescriptionTerminal window
Left hand side<M-4>
Right hand side<Cmd>2ToggleTerm dir=CWD direction=float<CR>
DescriptionRun window
Left hand side<M-3>
Right hand side<Cmd>1ToggleTerm dir=CWD direction=float<CR>
DescriptionMove lines
Left hand side<M-k>
Right hand side:m '<lt>-2<CR>gv=gv
DescriptionMove lines
Left hand side<M-j>
Right hand side:m '>+1<CR>gv=gv
Description 
Left hand side<Plug>NetrwBrowseXVis
Right hand side:<C-U>call netrw#BrowseXVis()<CR>
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``
DescriptionComment toggle blockwise (visual)
Left hand side<Plug>(comment_toggle_blockwise_visual)
Right hand side<Esc><Cmd>lua require("Comment.api").locked("toggle.blockwise")(vim.fn.visualmode())<CR>
DescriptionComment toggle linewise (visual)
Left hand side<Plug>(comment_toggle_linewise_visual)
Right hand side<Esc><Cmd>lua require("Comment.api").locked("toggle.linewise")(vim.fn.visualmode())<CR>
Description 
Left hand side<Plug>luasnip-expand-repeat
Right hand side 
Description 
Left hand side<C-N>
Right hand side<Plug>(VM-Find-Subword-Under)
Description 
Left hand side<Plug>(VM-Visual-Regex)
Right hand side:call vm#commands#find_by_regex(2)<CR>:call feedkeys('/', 'n')<CR>
Description 
Left hand side<Plug>(VM-Find-Subword-Under)
Right hand side<SNR>19_Visual('under')
Description 
Left hand side<Plug>(VM-Visual-Reduce)
Right hand side:<C-U>call vm#visual#reduce()<CR>
Description 
Left hand side<Plug>(VM-Visual-Add)
Right hand side<Esc>:call vm#commands#visual_add()<CR>
Description 
Left hand side<Plug>(VM-Visual-Cursors)
Right hand side<Esc>:call vm#commands#visual_cursors()<CR>
Description 
Left hand side<Plug>(VM-Visual-All)
Right hand side<SNR>19_Visual('all')
Description 
Left hand side<Plug>(VM-Visual-Find)
Right hand sidevm#operators#find(1, 1)
Description 
Left hand side<C-B>
Right hand side<Cmd>lua require('neoscroll').scroll(-vim.api.nvim_win_get_height(0), true, 450)<CR>
Description 
Left hand side<C-F>
Right hand side<Cmd>lua require('neoscroll').scroll(vim.api.nvim_win_get_height(0), true, 450)<CR>
Description 
Left hand side<C-Y>
Right hand side<Cmd>lua require('neoscroll').scroll(-0.10, false, 100)<CR>
Description 
Left hand side<C-U>
Right hand side<Cmd>lua require('neoscroll').scroll(-vim.wo.scroll, true, 250)<CR>
Description 
Left hand side<C-D>
Right hand side<Cmd>lua require('neoscroll').scroll(vim.wo.scroll, true, 250)<CR>
Description 
Left hand side<C-E>
Right hand side<Cmd>lua require('neoscroll').scroll(0.10, false, 100)<CR>
Description 
Left hand side<M-i>
Right hand side 

Operator mode keymaps

DescriptionAlpha Dashboard
Left hand side ;
Right hand side<Cmd>Alpha<CR>
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)
DescriptionTerminal window
Left hand side<M-4>
Right hand side<Cmd>2ToggleTerm dir=CWD direction=float<CR>
DescriptionRun window
Left hand side<M-3>
Right hand side<Cmd>1ToggleTerm dir=CWD direction=float<CR>
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>
Description 
Left hand side<M-i>
Right hand side 
Description 
Left hand side<Plug>luasnip-expand-repeat
Right hand side