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> |
Description | Alpha Dashboard |
---|
Left hand side | ; |
Right hand side | <Cmd>Alpha<CR> |
Description | Close buffer |
---|
Left hand side | c |
Right hand side | <Cmd>BufferKill<CR> |
Description | Quit all |
---|
Left hand side | q |
Right hand side | <Cmd>qa!<CR> |
Description | Save all |
---|
Left hand side | w |
Right hand side | <Cmd>wa!<CR> |
Description | No HL Search |
---|
Left hand side | h |
Right hand side | <Cmd>nohl<CR> |
Description | Lazydocker |
---|
Left hand side | sd |
Right hand side | |
Description | Lazygit |
---|
Left hand side | sg |
Right hand side | |
Description | |
---|
Left hand side | % |
Right hand side | <Plug>(MatchitNormalForward) |
Description | Nvim builtin |
---|
Left hand side | & |
Right hand side | :&&<CR> |
Description | |
---|
Left hand side | D |
Right hand side | "_D |
Description | Show error diagnostics |
---|
Left hand side | E |
Right hand side | |
Description | |
---|
Left hand side | J |
Right hand side | mzJ`z |
Description | Hover |
---|
Left hand side | K |
Right hand side | |
Description | Nvim builtin |
---|
Left hand side | Y |
Right hand side | y$ |
Description | Go 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) |
Description | Go to next error |
---|
Left hand side | ]d |
Right hand side | |
Description | |
---|
Left hand side | ]% |
Right hand side | <Plug>(MatchitNormalMultiForward) |
Description | |
---|
Left hand side | d |
Right hand side | "_d |
Description | Show code actions |
---|
Left hand side | ga |
Right hand side | |
Description | Go to type definition |
---|
Left hand side | gt |
Right hand side | |
Description | Show signature help |
---|
Left hand side | gs |
Right hand side | |
Description | Go to declaration |
---|
Left hand side | gD |
Right hand side | |
Description | Go to references |
---|
Left hand side | gf |
Right hand side | |
Description | Go to implementation |
---|
Left hand side | gi |
Right hand side | |
Description | Go to definition |
---|
Left hand side | gd |
Right hand side | |
Description | |
---|
Left hand side | gx |
Right hand side | <Plug>NetrwBrowseX |
Description | |
---|
Left hand side | g% |
Right hand side | <Plug>(MatchitNormalBackward) |
Description | Comment insert end of line |
---|
Left hand side | gcA |
Right hand side | |
Description | Comment insert above |
---|
Left hand side | gcO |
Right hand side | |
Description | Comment insert below |
---|
Left hand side | gco |
Right hand side | |
Description | Comment toggle current block |
---|
Left hand side | gbc |
Right hand side | |
Description | Comment toggle current line |
---|
Left hand side | gcc |
Right hand side | |
Description | Comment toggle blockwise |
---|
Left hand side | gb |
Right hand side | <Plug>(comment_toggle_blockwise) |
Description | Comment toggle linewise |
---|
Left hand side | gc |
Right hand side | <Plug>(comment_toggle_linewise) |
Description | |
---|
Left hand side | j |
Right hand side | v:count == 0 ? 'gj' : 'j' |
Description | |
---|
Left hand side | k |
Right hand side | v:count == 0 ? 'gk' : 'k' |
Description | |
---|
Left hand side | zb |
Right hand side | <Cmd>lua require('neoscroll').zb(250)<CR> |
Description | |
---|
Left hand side | zz |
Right hand side | <Cmd>lua require('neoscroll').zz(250)<CR> |
Description | |
---|
Left hand side | zt |
Right hand side | <Cmd>lua require('neoscroll').zt(250)<CR> |
Description | Terminal window |
---|
Left hand side | <M-4> |
Right hand side | <Cmd>2ToggleTerm dir=CWD direction=float<CR> |
Description | Run window |
---|
Left hand side | <M-3> |
Right hand side | <Cmd>1ToggleTerm dir=CWD direction=float<CR> |
Description | File 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> |
Description | Increase window width |
---|
Left hand side | <C-Right> |
Right hand side | <Cmd>vertical resize +2<CR> |
Description | Decrease window width |
---|
Left hand side | <C-Left> |
Right hand side | <Cmd>vertical resize -2<CR> |
Description | Go to upper window |
---|
Left hand side | <C-K> |
Right hand side | <C-W>k |
Description | Go to lower window |
---|
Left hand side | <C-J> |
Right hand side | <C-W>j |
Description | Go to left window |
---|
Left hand side | <C-H> |
Right hand side | <C-W>h |
Description | Move lines |
---|
Left hand side | <M-k> |
Right hand side | :m .-2<CR>== |
Description | Move 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 | |
Description | Move to previous reference |
---|
Left hand side | <M-p> |
Right hand side | |
Description | Move to next reference |
---|
Left hand side | <M-n> |
Right hand side | |
Description | Decrease window height |
---|
Left hand side | <C-Down> |
Right hand side | <Cmd>resize -2<CR> |
Description | Increase 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> |
Description | Comment toggle blockwise with count |
---|
Left hand side | <Plug>(comment_toggle_blockwise_count) |
Right hand side | |
Description | Comment toggle linewise with count |
---|
Left hand side | <Plug>(comment_toggle_linewise_count) |
Right hand side | |
Description | Comment toggle current block |
---|
Left hand side | <Plug>(comment_toggle_blockwise_current) |
Right hand side | |
Description | Comment toggle current line |
---|
Left hand side | <Plug>(comment_toggle_linewise_current) |
Right hand side | |
Description | Comment toggle blockwise |
---|
Left hand side | <Plug>(comment_toggle_blockwise) |
Right hand side | |
Description | Comment 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> |
Description | Go to right window |
---|
Left hand side | <C-L> |
Right hand side | <C-W>l |
Visual mode keymaps
Description | Alpha Dashboard |
---|
Left hand side | ; |
Right hand side | <Cmd>Alpha<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 | <lt> |
Right hand side | <lt>gv |
Description | |
---|
Left hand side | > |
Right hand side | >gv |
Description | |
---|
Left hand side | D |
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 side | a% |
Right hand side | <Plug>(MatchitVisualTextObject) |
Description | |
---|
Left hand side | d |
Right hand side | "_d |
Description | |
---|
Left hand side | gx |
Right hand side | <Plug>NetrwBrowseXVis |
Description | |
---|
Left hand side | g% |
Right hand side | <Plug>(MatchitVisualBackward) |
Description | Comment toggle blockwise (visual) |
---|
Left hand side | gb |
Right hand side | <Plug>(comment_toggle_blockwise_visual) |
Description | Comment toggle linewise (visual) |
---|
Left hand side | gc |
Right hand side | <Plug>(comment_toggle_linewise_visual) |
Description | |
---|
Left hand side | zb |
Right hand side | <Cmd>lua require('neoscroll').zb(250)<CR> |
Description | |
---|
Left hand side | zt |
Right hand side | <Cmd>lua require('neoscroll').zt(250)<CR> |
Description | |
---|
Left hand side | zz |
Right hand side | <Cmd>lua require('neoscroll').zz(250)<CR> |
Description | Terminal window |
---|
Left hand side | <M-4> |
Right hand side | <Cmd>2ToggleTerm dir=CWD direction=float<CR> |
Description | Run window |
---|
Left hand side | <M-3> |
Right hand side | <Cmd>1ToggleTerm dir=CWD direction=float<CR> |
Description | Move lines |
---|
Left hand side | <M-k> |
Right hand side | :m '<lt>-2<CR>gv=gv |
Description | Move 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`` |
Description | Comment 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> |
Description | Comment 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 side | vm#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
Description | Alpha 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 side | g% |
Right hand side | <Plug>(MatchitOperationBackward) |
Description | Terminal window |
---|
Left hand side | <M-4> |
Right hand side | <Cmd>2ToggleTerm dir=CWD direction=float<CR> |
Description | Run 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 | |