Neovim config of Heiker Curiel, author of lsp-zero
- Install and initialize:
lazyman -w Heiker - Configuration category: Personal
- Base configuration: Custom
- Plugin manager: Lazy
- Installation location:
~/.config/nvim-Heiker
Git repository
https://github.com/VonHeikemen/dotfiles
Lazy managed plugins
Heiker Keymaps
Normal mode keymaps
| Description | |
|---|
| Left hand side | <CR> |
| Right hand side | <Cmd>FineCmdline<CR> |
| Description | |
|---|
| Left hand side | m |
| Right hand side | <Cmd>BufferNavMark<CR> |
| Description | |
|---|
| Left hand side | uf |
| Right hand side | <Cmd>CtrlSFToggle<CR> |
| Description | |
|---|
| Left hand side | fw |
| Right hand side | <Esc><Cmd>exe 'Find' expand('<lt>cword>')<CR> |
| Description | |
|---|
| Left hand side | F |
| Right hand side | <Cmd>FineCmdline Find <CR> |
| Description | |
|---|
| Left hand side | da |
| Right hand side | |
| Description | |
|---|
| Left hand side | dd |
| Right hand side | |
| Description | |
|---|
| Left hand side | s |
| Right hand side | <Cmd>SearchBoxClear<CR> |
| Description | |
|---|
| Left hand side | bb |
| Right hand side | <Cmd>Telescope buffers<CR> |
| Description | |
|---|
| Left hand side | fh |
| Right hand side | <Cmd>Telescope oldfiles<CR> |
| Description | |
|---|
| Left hand side | fb |
| Right hand side | <Cmd>Telescope current_buffer_fuzzy_find<CR> |
| Description | |
|---|
| Left hand side | fs |
| Right hand side | <Cmd>Telescope treesitter<CR> |
| Description | |
|---|
| Left hand side | ff |
| Right hand side | <Cmd>Telescope find_files<CR> |
| Description | |
|---|
| Left hand side | ? |
| Right hand side | <Cmd>Telescope keymaps<CR> |
| Description | |
|---|
| Left hand side | fg |
| Right hand side | <Cmd>Telescope live_grep<CR> |
| Description | |
|---|
| Left hand side | ui |
| Right hand side | <Cmd>IndentBlanklineToggle<CR> |
| Description | |
|---|
| Left hand side | uz |
| Right hand side | |
| Description | |
|---|
| Left hand side | g |
| Right hand side | |
| Description | |
|---|
| Left hand side | bc |
| Right hand side | |
| Description | |
|---|
| Left hand side | j |
| Right hand side | <Cmd>let @/='\<lt>'.expand('<lt>cword>').'\>'<CR>"_ciw |
| Description | |
|---|
| Left hand side | ur |
| Right hand side | <Cmd>set invrelativenumber<CR> |
| Description | |
|---|
| Left hand side | un |
| Right hand side | <Cmd>set invnumber<CR> |
| Description | |
|---|
| Left hand side | uc |
| Right hand side | <Cmd>set invcursorline<CR> |
| Description | |
|---|
| Left hand side | ul |
| Right hand side | |
| Description | |
|---|
| Left hand side | ut |
| Right hand side | |
| Description | |
|---|
| Left hand side | uh |
| Right hand side | <Cmd>set invhlsearch<CR> |
| Description | |
|---|
| Left hand side | cd |
| Right hand side | <Cmd>lcd %:p:h<CR><Cmd>pwd<CR> |
| Description | |
|---|
| Left hand side | |
| Right hand side | <Cmd>echo ''<CR> |
| Description | |
|---|
| Left hand side | tn |
| Right hand side | <Cmd>tabnew<CR> |
| Description | |
|---|
| Left hand side | bl |
| Right hand side | <Cmd>buffer #<CR> |
| Description | |
|---|
| Left hand side | bq |
| Right hand side | <Cmd>bdelete<CR> |
| Description | |
|---|
| Left hand side | Q |
| Right hand side | <Cmd>quitall!<CR> |
| Description | |
|---|
| Left hand side | qq |
| Right hand side | <Cmd>quitall<CR> |
| Description | |
|---|
| Left hand side | w |
| Right hand side | <Cmd>write<CR> |
| Description | |
|---|
| Left hand side | l |
| Right hand side | g_ |
| Description | |
|---|
| Left hand side | h |
| Right hand side | ^ |
| Description | |
|---|
| Left hand side | e |
| Right hand side | % |
| Description | |
|---|
| Left hand side | a |
| Right hand side | <Cmd>keepjumps normal! ggVG<CR> |
| Description | |
|---|
| Left hand side | # |
| Right hand side | #zz |
| Description | |
|---|
| Left hand side | % |
| Right hand side | <Plug>(MatchitNormalForward) |
| Description | Nvim builtin |
|---|
| Left hand side | & |
| Right hand side | :&&<CR> |
| Description | |
|---|
| Left hand side | * |
| Right hand side | *zz |
| Description | |
|---|
| Left hand side | . |
| Right hand side | |
| Description | Jump to line below cursor |
|---|
| Left hand side | B |
| Right hand side | |
| Description | |
|---|
| Left hand side | C |
| Right hand side | "_C |
| Description | Jump to word (ignore _) |
|---|
| Left hand side | E |
| Right hand side | |
| Description | |
|---|
| Left hand side | F |
| Right hand side | |
| Description | |
|---|
| Left hand side | H |
| Right hand side | b |
| Description | |
|---|
| Left hand side | L |
| Right hand side | e |
| Description | |
|---|
| Left hand side | M |
| Right hand side | <Cmd>BufferNavMenu<CR> |
| Description | |
|---|
| Left hand side | N |
| Right hand side | Nzzzv |
| Description | |
|---|
| Left hand side | R |
| Right hand side | <Cmd>exe 'SearchBoxReplace --' expand('<lt>cword>')<CR> |
| Description | |
|---|
| Left hand side | S |
| Right hand side | <Cmd>SearchBoxMatchAll title=' Match '<CR> |
| Description | |
|---|
| Left hand side | T |
| Right hand side | |
| Description | |
|---|
| Left hand side | U |
| Right hand side | <C-R> |
| Description | |
|---|
| Left hand side | X |
| Right hand side | "_d |
| Description | Nvim builtin |
|---|
| Left hand side | Y |
| Right hand side | y$ |
| Description | |
|---|
| Left hand side | [% |
| Right hand side | <Plug>(MatchitNormalMultiBackward) |
| Description | |
|---|
| Left hand side | [q |
| Right hand side | |
| Description | |
|---|
| Left hand side | [g |
| Right hand side | |
| Description | |
|---|
| Left hand side | [t |
| Right hand side | <Cmd>tabprevious<CR> |
| Description | |
|---|
| Left hand side | [b |
| Right hand side | <Cmd>bprevious<CR> |
| Description | |
|---|
| Left hand side | ]% |
| Right hand side | <Plug>(MatchitNormalMultiForward) |
| Description | |
|---|
| Left hand side | ]q |
| Right hand side | |
| Description | |
|---|
| Left hand side | ]g |
| Right hand side | |
| Description | |
|---|
| Left hand side | ]t |
| Right hand side | <Cmd>tabnext<CR> |
| Description | |
|---|
| Left hand side | ]b |
| Right hand side | <Cmd>bnext<CR> |
| Description | Jump to line above cursor |
|---|
| Left hand side | b |
| Right hand side | |
| Description | |
|---|
| Left hand side | cr |
| Right hand side | |
| Description | |
|---|
| Left hand side | cs |
| Right hand side | |
| Description | |
|---|
| Left hand side | c |
| Right hand side | "_c |
| Description | |
|---|
| Left hand side | ds |
| Right hand side | |
| Description | Jump to word |
|---|
| Left hand side | e |
| Right hand side | |
| Description | |
|---|
| Left hand side | f |
| Right hand side | |
| Description | |
|---|
| Left hand side | g% |
| Right hand side | <Plug>(MatchitNormalBackward) |
| Description | |
|---|
| Left hand side | gL |
| Right hand side | E |
| Description | |
|---|
| Left hand side | gH |
| Right hand side | B |
| Description | |
|---|
| Left hand side | gB |
| Right hand side | |
| Description | |
|---|
| Left hand side | gb |
| Right hand side | |
| Description | |
|---|
| Left hand side | gc |
| Right hand side | |
| Description | |
|---|
| Left hand side | gcc |
| Right hand side | |
| Description | |
|---|
| Left hand side | gp |
| Right hand side | "+p |
| Description | |
|---|
| Left hand side | gy |
| Right hand side | "+y |
| Description | |
|---|
| Left hand side | n |
| Right hand side | nzzzv |
| Description | |
|---|
| Left hand side | r |
| Right hand side | <Cmd>SearchBoxReplace <CR> |
| Description | |
|---|
| Left hand side | s |
| Right hand side | <Cmd>SearchBoxIncSearch<CR> |
| Description | |
|---|
| Left hand side | t |
| Right hand side | |
| Description | |
|---|
| Left hand side | x |
| Right hand side | "_x |
| Description | |
|---|
| Left hand side | ys |
| Right hand side | |
| Description | |
|---|
| Left hand side | <M-4> |
| Right hand side | <Cmd>BufferNav 4<CR> |
| Description | |
|---|
| Left hand side | <M-3> |
| Right hand side | <Cmd>BufferNav 3<CR> |
| Description | |
|---|
| Left hand side | <M-2> |
| Right hand side | <Cmd>BufferNav 2<CR> |
| Description | |
|---|
| Left hand side | <M-1> |
| Right hand side | <Cmd>BufferNav 1<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>PlenaryTestFile |
| Right hand side | :lua require('plenary.test_harness').test_directory(vim.fn.expand("%:p"))<CR> |
| Description | |
|---|
| Left hand side | <C-W>f |
| Right hand side | <Cmd>ToggleTerm direction=float<CR> |
| Description | |
|---|
| Left hand side | <C-W>t |
| Right hand side | <Cmd>ToggleTerm direction=tab<CR> |
| Description | Toggle terminal |
|---|
| Left hand side | <M-i> |
| Right hand side | <Cmd>Term<CR> |
| Description | |
|---|
| Left hand side | <F8> |
| Right hand side | gn@i |
| Description | |
|---|
| Left hand side | <C-K> |
| Right hand side | <Cmd>move .-2<CR>== |
| Description | |
|---|
| Left hand side | <C-J> |
| Right hand side | <Cmd>move .+1<CR>== |
| Description | |
|---|
| Left hand side | <M-j> |
| Right hand side | <C-D>M |
| Description | |
|---|
| Left hand side | <M-k> |
| Right hand side | <C-U>M |
| Description | |
|---|
| Left hand side | <M-b> |
| Right hand side | <CR> |
| Description | |
|---|
| Left hand side | <M-l> |
| Right hand side | <Esc> |
| Description | Nvim builtin |
|---|
| Left hand side | <C-L> |
| Right hand side | <Cmd>nohlsearch|diffupdate|normal! <C-L><CR> |
Visual mode keymaps
| Description | |
|---|
| Left hand side | <CR> |
| Right hand side | <Esc><Cmd>FineCmdline '<lt>,'><CR> |
| Description | |
|---|
| Left hand side | F |
| Right hand side | <Esc><Cmd>GetSelection<CR><Cmd>exe 'Find' getreg('/')<CR> |
| Description | |
|---|
| Left hand side | j |
| Right hand side | y<Cmd>let @/=substitute(escape(@", '/'), '\n', '\\n', 'g')<CR>"_cgn |
| Description | |
|---|
| Left hand side | Y |
| Right hand side | <Esc><Cmd>GetSelection<CR><Cmd>set hlsearch<CR> |
| Description | |
|---|
| Left hand side | y |
| Right hand side | <Esc><Cmd>GetSelection<CR>gv |
| Description | |
|---|
| Left hand side | l |
| Right hand side | g_ |
| Description | |
|---|
| Left hand side | h |
| Right hand side | ^ |
| Description | |
|---|
| Left hand side | e |
| Right hand side | % |
| 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 | Jump to line below cursor |
|---|
| Left hand side | B |
| Right hand side | |
| Description | |
|---|
| Left hand side | C |
| Right hand side | "_c |
| Description | Jump to word (ignore _) |
|---|
| Left hand side | E |
| Right hand side | |
| Description | |
|---|
| Left hand side | F |
| Right hand side | |
| Description | |
|---|
| Left hand side | H |
| Right hand side | b |
| Description | |
|---|
| Left hand side | L |
| Right hand side | e |
| Description | |
|---|
| Left hand side | R |
| Right hand side | <Esc><Cmd>GetSelection<CR><Cmd>exe 'SearchBoxReplace --' getreg('/')<CR> |
| Description | |
|---|
| Left hand side | S |
| Right hand side | <Esc><Cmd>'<lt>,'>SearchBoxMatchAll title=' Match ' visual_mode=true<CR> |
| Description | |
|---|
| Left hand side | T |
| Right hand side | |
| Description | |
|---|
| Left hand side | X |
| Right hand side | "_d |
| Description | |
|---|
| Left hand side | Y |
| Right hand side | |
| Description | |
|---|
| Left hand side | [% |
| Right hand side | <Plug>(MatchitVisualMultiBackward) |
| Description | |
|---|
| Left hand side | [g |
| Right hand side | |
| Description | |
|---|
| Left hand side | ]% |
| Right hand side | <Plug>(MatchitVisualMultiForward) |
| Description | |
|---|
| Left hand side | ]g |
| Right hand side | |
| Description | |
|---|
| Left hand side | a% |
| Right hand side | <Plug>(MatchitVisualTextObject) |
| Description | |
|---|
| Left hand side | a |
| Right hand side | |
| Description | Jump to line above cursor |
|---|
| Left hand side | b |
| Right hand side | |
| Description | |
|---|
| Left hand side | cc |
| Right hand side | "_c |
| Description | |
|---|
| Left hand side | c |
| Right hand side | "_c |
| Description | Jump to word |
|---|
| Left hand side | e |
| Right hand side | |
| Description | |
|---|
| Left hand side | f |
| Right hand side | |
| Description | |
|---|
| Left hand side | g% |
| Right hand side | <Plug>(MatchitVisualBackward) |
| Description | |
|---|
| Left hand side | gL |
| Right hand side | E |
| Description | |
|---|
| Left hand side | gH |
| Right hand side | B |
| Description | |
|---|
| Left hand side | gB |
| Right hand side | |
| Description | |
|---|
| Left hand side | gb |
| Right hand side | |
| Description | |
|---|
| Left hand side | gc |
| Right hand side | |
| Description | |
|---|
| Left hand side | gp |
| Right hand side | "+p |
| Description | |
|---|
| Left hand side | gy |
| Right hand side | "+y |
| Description | |
|---|
| Left hand side | i |
| Right hand side | |
| Description | |
|---|
| Left hand side | qi |
| Right hand side | y<Cmd>let @/=substitute(escape(@", '/'), '\n', '\\n', 'g')<CR>gvqi |
| Description | |
|---|
| Left hand side | r |
| Right hand side | <Esc><Cmd>SearchBoxReplace visual_mode=true<CR> |
| Description | |
|---|
| Left hand side | s |
| Right hand side | <Esc><Cmd>'<lt>,'>SearchBoxIncSearch visual_mode=true<CR> |
| Description | |
|---|
| Left hand side | t |
| Right hand side | |
| Description | |
|---|
| Left hand side | x |
| Right hand side | "_x |
| 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 | Toggle terminal |
|---|
| Left hand side | <M-i> |
| Right hand side | <Cmd>Term<CR> |
| Description | |
|---|
| Left hand side | <C-K> |
| Right hand side | <Esc><Cmd>'<lt>,'>move '<lt>-2<CR>gv=gv |
| Description | |
|---|
| Left hand side | <C-J> |
| Right hand side | <Esc><Cmd>'<lt>,'>move '>+1<CR>gv=gv |
| Description | |
|---|
| Left hand side | <M-l> |
| Right hand side | <Esc> |
Operator mode keymaps
| Description | |
|---|
| Left hand side | l |
| Right hand side | g_ |
| Description | |
|---|
| Left hand side | h |
| Right hand side | ^ |
| Description | |
|---|
| Left hand side | % |
| Right hand side | <Plug>(MatchitOperationForward) |
| Description | Jump to line below cursor |
|---|
| Left hand side | B |
| Right hand side | |
| Description | Jump to word (ignore _) |
|---|
| Left hand side | E |
| Right hand side | |
| Description | |
|---|
| Left hand side | F |
| Right hand side | |
| Description | |
|---|
| Left hand side | H |
| Right hand side | b |
| Description | |
|---|
| Left hand side | L |
| Right hand side | e |
| Description | |
|---|
| Left hand side | T |
| Right hand side | |
| Description | |
|---|
| Left hand side | [% |
| Right hand side | <Plug>(MatchitOperationMultiBackward) |
| Description | |
|---|
| Left hand side | ]% |
| Right hand side | <Plug>(MatchitOperationMultiForward) |
| Description | |
|---|
| Left hand side | a |
| Right hand side | |
| Description | Jump to line above cursor |
|---|
| Left hand side | b |
| Right hand side | |
| Description | Jump to word |
|---|
| Left hand side | e |
| Right hand side | |
| Description | |
|---|
| Left hand side | f |
| Right hand side | |
| Description | |
|---|
| Left hand side | g% |
| Right hand side | <Plug>(MatchitOperationBackward) |
| Description | |
|---|
| Left hand side | gL |
| Right hand side | E |
| Description | |
|---|
| Left hand side | gH |
| Right hand side | B |
| Description | |
|---|
| Left hand side | gB |
| Right hand side | |
| Description | |
|---|
| Left hand side | gb |
| Right hand side | |
| Description | |
|---|
| Left hand side | gc |
| Right hand side | |
| Description | |
|---|
| Left hand side | gp |
| Right hand side | "+p |
| Description | |
|---|
| Left hand side | gy |
| Right hand side | "+y |
| Description | |
|---|
| Left hand side | i |
| Right hand side | |
| Description | |
|---|
| Left hand side | t |
| Right hand side | |
| 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-l> |
| Right hand side | <Esc> |