Tailored for frontend development with React and Vue.js
- Install and initialize:
lazyman -e - Configuration category: Base
- Base configuration: Custom
- Plugin manager: Lazy
- Installation location:
~/.config/nvim-Ecovim
Git repository
https://github.com/ecosse3/nvim
Neovimcraft entry
http://neovimcraft.com/plugin/ecosse3/nvim
Lazy managed plugins
Ecovim Keymaps
Normal mode keymaps
| Description | |
|---|
| Left hand side | <Tab> |
| Right hand side | :BufferLineCycleNext<CR> |
| Description | |
|---|
| Left hand side | <CR> |
| Right hand side | :noh<CR><CR> |
| Description | |
|---|
| Left hand side | cl |
| Right hand side | <Cmd>lua vim.diagnostic.open_float({ border = 'rounded', max_width = 100 })<CR> |
| Description | |
|---|
| Left hand side | cf |
| Right hand side | <Cmd>lua vim.lsp.buf.format({ async = true })<CR> |
| Description | |
|---|
| Left hand side | cr |
| Right hand side | <Cmd>lua vim.lsp.buf.rename()<CR> |
| Description | |
|---|
| Left hand side | ca |
| Right hand side | <Cmd>lua vim.lsp.buf.code_action()<CR> |
| Description | |
|---|
| Left hand side | q |
| Right hand side | <Cmd>lua require('utils').toggle_quicklist()<CR> |
| Description | |
|---|
| Left hand side | . |
| Right hand side | :cn<CR> |
| Description | |
|---|
| Left hand side | , |
| Right hand side | :cp<CR> |
| Description | |
|---|
| Left hand side | pw |
| Right hand side | <Cmd>lua require('telescope.builtin').grep_string({ initial_mode = 'normal' })<CR> |
| Description | |
|---|
| Left hand side | pf |
| Right hand side | <Cmd>lua require('plugins.telescope').project_files({ default_text = vim.fn.expand('<lt>cword>'), initial_mode = 'normal' })<CR> |
| Description | |
|---|
| Left hand side | /l |
| Right hand side | <Cmd>:Lazy<CR> |
| Description | save session |
|---|
| Left hand side | /ss |
| Right hand side | <Cmd>SessionManager save_current_session<CR> |
| Description | load last session |
|---|
| Left hand side | /sl |
| Right hand side | <Cmd>SessionManager load_last_session<CR> |
| Description | load current dir session |
|---|
| Left hand side | /sd |
| Right hand side | <Cmd>SessionManager load_current_dir_session<CR> |
| Description | remove session |
|---|
| Left hand side | /sr |
| Right hand side | <Cmd>SessionManager delete_session<CR> |
| Description | choose session |
|---|
| Left hand side | /sc |
| Right hand side | <Cmd>SessionManager load_session<CR> |
| Description | Mason |
|---|
| Left hand side | cm |
| Right hand side | <Cmd>Mason<CR> |
| Description | comment box |
|---|
| Left hand side | ac |
| Right hand side | <Cmd>lua require('comment-box').lbox()<CR> |
| Description | |
|---|
| Left hand side | gwc |
| Right hand side | <Cmd>lua require('telescope').extensions.git_worktree.create_git_worktree()<CR> |
| Description | |
|---|
| Left hand side | gww |
| Right hand side | <Cmd>lua require('telescope').extensions.git_worktree.git_worktrees()<CR> |
| Description | choose theirs |
|---|
| Left hand side | gct |
| Right hand side | <Cmd>GitConflictChooseTheirs<CR> |
| Description | move to prev conflict |
|---|
| Left hand side | gcp |
| Right hand side | <Cmd>GitConflictPrevConflict<CR> |
| Description | choose ours |
|---|
| Left hand side | gco |
| Right hand side | <Cmd>GitConflictChooseOurs<CR> |
| Description | move to next conflict |
|---|
| Left hand side | gcn |
| Right hand side | <Cmd>GitConflictNextConflict<CR> |
| Description | choose both |
|---|
| Left hand side | gcb |
| Right hand side | <Cmd>GitConflictChooseBoth<CR> |
| Description | terminal float |
|---|
| Left hand side | at |
| Right hand side | <Cmd>ToggleTerm direction=float<CR> |
| Description | multicursor |
|---|
| Left hand side | m |
| Right hand side | |
| Description | |
|---|
| Left hand side | dh |
| Right hand side | |
| Description | |
|---|
| Left hand side | dd |
| Right hand side | |
| Description | |
|---|
| Left hand side | dc |
| Right hand side | |
| Description | |
|---|
| Left hand side | db |
| Right hand side | |
| Description | |
|---|
| Left hand side | da |
| Right hand side | |
| Description | |
|---|
| Left hand side | dt |
| Right hand side | |
| Description | |
|---|
| Left hand side | dO |
| Right hand side | |
| Description | |
|---|
| Left hand side | do |
| Right hand side | |
| Description | |
|---|
| Left hand side | di |
| Right hand side | |
| Description | refactor |
|---|
| Left hand side | pr |
| Right hand side | |
| Description | lazygit |
|---|
| Left hand side | gg |
| Right hand side | |
| Description | reset hunk |
|---|
| Left hand side | ghr |
| Right hand side | |
| Description | reset buffer |
|---|
| Left hand side | ghR |
| Right hand side | |
| Description | preview |
|---|
| Left hand side | ghp |
| Right hand side | |
| Description | diff hunk |
|---|
| Left hand side | ghd |
| Right hand side | |
| Description | undo stage |
|---|
| Left hand side | ghu |
| Right hand side | |
| Description | toggle deleted |
|---|
| Left hand side | ght |
| Right hand side | |
| Description | stage buffer |
|---|
| Left hand side | ghS |
| Right hand side | |
| Description | stage hunk |
|---|
| Left hand side | ghs |
| Right hand side | |
| Description | generate git message |
|---|
| Left hand side | ag |
| Right hand side | |
| Description | summarize text |
|---|
| Left hand side | as |
| Right hand side | |
| Description | Close Left |
|---|
| Left hand side | bl |
| Right hand side | |
| Description | Move back |
|---|
| Left hand side | bb |
| Right hand side | |
| Description | |
|---|
| Left hand side | 9 |
| Right hand side | |
| Description | |
|---|
| Left hand side | 8 |
| Right hand side | |
| Description | |
|---|
| Left hand side | 7 |
| Right hand side | |
| Description | |
|---|
| Left hand side | 6 |
| Right hand side | |
| Description | |
|---|
| Left hand side | 5 |
| Right hand side | |
| Description | |
|---|
| Left hand side | 4 |
| Right hand side | |
| Description | |
|---|
| Left hand side | 3 |
| Right hand side | |
| Description | |
|---|
| Left hand side | 2 |
| Right hand side | |
| Description | |
|---|
| Left hand side | 1 |
| Right hand side | |
| Description | Sort by relative dir |
|---|
| Left hand side | bsr |
| Right hand side | |
| Description | Sort by extension |
|---|
| Left hand side | bse |
| Right hand side | |
| Description | Sort by directory |
|---|
| Left hand side | bsd |
| Right hand side | |
| Description | Pin/Unpin Buffer |
|---|
| Left hand side | bP |
| Right hand side | |
| Description | Pick Buffer |
|---|
| Left hand side | bp |
| Right hand side | |
| Description | Move next |
|---|
| Left hand side | bn |
| Right hand side | |
| Description | Close Right |
|---|
| Left hand side | br |
| Right hand side | |
| Description | diff file |
|---|
| Left hand side | gd |
| Right hand side | |
| Description | status |
|---|
| Left hand side | gs |
| 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 | <lt><lt> |
| Right hand side | |
| Description | |
|---|
| Left hand side | <lt> |
| Right hand side | |
| Description | |
|---|
| Left hand side | == |
| Right hand side | |
| Description | |
|---|
| Left hand side | = |
| Right hand side | |
| Description | |
|---|
| Left hand side | >> |
| Right hand side | |
| Description | |
|---|
| Left hand side | > |
| Right hand side | |
| Description | |
|---|
| Left hand side | H |
| Right hand side | ^ |
| Description | |
|---|
| Left hand side | K |
| Right hand side | |
| Description | |
|---|
| Left hand side | L |
| Right hand side | <Cmd>lua vim.lsp.buf.signature_help()<CR> |
| Description | |
|---|
| Left hand side | P |
| Right hand side | <Cmd>lua require('plugins.telescope.pickers.multi-rg')()<CR> |
| Description | |
|---|
| Left hand side | Q |
| Right hand side | :lua require('mini.bufremove').delete(0, false)<CR> |
| Description | |
|---|
| Left hand side | X |
| Right hand side | "_X |
| Description | Nvim builtin |
|---|
| Left hand side | Y |
| Right hand side | y$ |
| Description | |
|---|
| Left hand side | [g |
| Right hand side | <Cmd>lua vim.diagnostic.goto_prev({ float = { border = 'rounded', max_width = 100 }})<CR> |
| Description | |
|---|
| Left hand side | [% |
| Right hand side | <Plug>(MatchitNormalMultiBackward) |
| Description | Previous todo comment |
|---|
| Left hand side | [t |
| Right hand side | |
| Description | |
|---|
| Left hand side | ]g |
| Right hand side | <Cmd>lua vim.diagnostic.goto_next({ float = { border = 'rounded', max_width = 100 }})<CR> |
| Description | |
|---|
| Left hand side | ]% |
| Right hand side | <Plug>(MatchitNormalMultiForward) |
| Description | Next todo comment |
|---|
| Left hand side | ]t |
| Right hand side | |
| Description | Change a surrounding pair, putting replacements on new lines |
|---|
| Left hand side | cS |
| Right hand side | <Plug>(nvim-surround-change-line) |
| Description | Change a surrounding pair |
|---|
| Left hand side | cs |
| Right hand side | <Plug>(nvim-surround-change) |
| Description | Delete a surrounding pair |
|---|
| Left hand side | ds |
| Right hand side | <Plug>(nvim-surround-delete) |
| Description | |
|---|
| Left hand side | gP |
| Right hand side | <Plug>(printer_print)iw |
| Description | |
|---|
| Left hand side | gl |
| Right hand side | <Cmd>lua vim.diagnostic.open_float({ border = 'rounded', max_width = 100 })<CR> |
| Description | |
|---|
| Left hand side | gx |
| Right hand side | <Cmd>silent execute '!xdg-open ' . shellescape('<lt>cWORD>')<CR> |
| Description | Operator keymap for printer.nvim |
|---|
| Left hand side | gp |
| Right hand side | |
| Description | |
|---|
| Left hand side | gn |
| Right hand side | :bn<CR> |
| Description | |
|---|
| Left hand side | g% |
| Right hand side | <Plug>(MatchitNormalBackward) |
| Description | Align with preview |
|---|
| Left hand side | gA |
| Right hand side | |
| Description | Align |
|---|
| Left hand side | ga |
| Right hand side | |
| 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 | gs |
| Right hand side | <Plug>(Switch) |
| Description | Move to right “around” |
|---|
| Left hand side | g] |
| Right hand side | |
| Description | Move to left “around” |
|---|
| Left hand side | g[ |
| Right hand side | |
| Description | LSP Implementations |
|---|
| Left hand side | gm |
| Right hand side | |
| Description | LSP References |
|---|
| Left hand side | gr |
| Right hand side | |
| Description | LSP Definition |
|---|
| Left hand side | gd |
| Right hand side | |
| Description | LSP Type Definitions |
|---|
| Left hand side | gy |
| Right hand side | |
| Description | Toggle Split/Join |
|---|
| Left hand side | gJ |
| Right hand side | |
| Description | |
|---|
| Left hand side | s |
| Right hand side | |
| Description | |
|---|
| Left hand side | x |
| Right hand side | "_x |
| Description | Add a surrounding pair around the current line, on new lines (normal mode) |
|---|
| Left hand side | ySS |
| Right hand side | <Plug>(nvim-surround-normal-cur-line) |
| Description | Add a surrounding pair around a motion, on new lines (normal mode) |
|---|
| Left hand side | yS |
| Right hand side | <Plug>(nvim-surround-normal-line) |
| Description | Add a surrounding pair around the current line (normal mode) |
|---|
| Left hand side | yss |
| Right hand side | <Plug>(nvim-surround-normal-cur) |
| Description | Add a surrounding pair around a motion (normal mode) |
|---|
| Left hand side | ys |
| Right hand side | <Plug>(nvim-surround-normal) |
| Description | |
|---|
| Left hand side | zr |
| Right hand side | |
| Description | |
|---|
| Left hand side | zM |
| Right hand side | |
| Description | |
|---|
| Left hand side | zR |
| Right hand side | |
| Description | Get text out of textobject formatted for debug printing |
|---|
| Left hand side | <Plug>(printer_print) |
| Right hand side | |
| Description | |
|---|
| Left hand side | <Plug>luasnip-expand-repeat |
| Right hand side | |
| Description | |
|---|
| Left hand side | <Plug>luasnip-delete-check |
| Right hand side | |
| Description | |
|---|
| Left hand side | <C-Space> |
| Right hand side | <Cmd>lua vim.lsp.buf.code_action()<CR> |
| Description | |
|---|
| Left hand side | <C-X> |
| Right hand side | :if !switch#Switch({'reverse': 1}) | call speeddating#increment(-v:count1) | endif<CR> |
| Description | |
|---|
| Left hand side | <C-A> |
| Right hand side | :if !switch#Switch() | call speeddating#increment(v:count1) | endif<CR> |
| Description | |
|---|
| Left hand side | <S-Tab> |
| Right hand side | :BufferLineCyclePrev<CR> |
| Description | |
|---|
| Left hand side | <C-P> |
| Right hand side | <Cmd>lua require('plugins.telescope').project_files()<CR> |
| Description | |
|---|
| Left hand side | <C-S> |
| Right hand side | :w<CR> |
| Description | |
|---|
| Left hand side | <C-K> |
| Right hand side | <C-W>k |
| Description | |
|---|
| Left hand side | <C-J> |
| Right hand side | <C-W>j |
| Description | |
|---|
| Left hand side | <C-H> |
| Right hand side | <C-W>h |
| 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 | Change a surrounding pair, putting replacements on new lines |
|---|
| Left hand side | <Plug>(nvim-surround-change-line) |
| Right hand side | |
| Description | Change a surrounding pair |
|---|
| Left hand side | <Plug>(nvim-surround-change) |
| Right hand side | |
| Description | Delete a surrounding pair |
|---|
| Left hand side | <Plug>(nvim-surround-delete) |
| Right hand side | |
| Description | Add a surrounding pair around the current line, on new lines (normal mode) |
|---|
| Left hand side | <Plug>(nvim-surround-normal-cur-line) |
| Right hand side | |
| Description | Add a surrounding pair around a motion, on new lines (normal mode) |
|---|
| Left hand side | <Plug>(nvim-surround-normal-line) |
| Right hand side | |
| Description | Add a surrounding pair around the current line (normal mode) |
|---|
| Left hand side | <Plug>(nvim-surround-normal-cur) |
| Right hand side | |
| Description | Add a surrounding pair around a motion (normal mode) |
|---|
| Left hand side | <Plug>(nvim-surround-normal) |
| Right hand side | |
| 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>(SwitchReverse) |
| Right hand side | :set opfunc=switch#OpfuncReverse<CR>g@l |
| Description | |
|---|
| Left hand side | <Plug>(Switch) |
| Right hand side | :set opfunc=switch#OpfuncForward<CR>g@l |
| Description | |
|---|
| Left hand side | <Plug>PlenaryTestFile |
| Right hand side | :lua require('plenary.test_harness').test_directory(vim.fn.expand("%:p"))<CR> |
| Description | Git Conflict: Previous Conflict |
|---|
| Left hand side | <Plug>(git-conflict-prev-conflict) |
| Right hand side | <Cmd>GitConflictPrevConflict<CR> |
| Description | Git Conflict: Next Conflict |
|---|
| Left hand side | <Plug>(git-conflict-next-conflict) |
| Right hand side | <Cmd>GitConflictNextConflict<CR> |
| Description | Git Conflict: Choose Theirs |
|---|
| Left hand side | <Plug>(git-conflict-theirs) |
| Right hand side | <Cmd>GitConflictChooseTheirs<CR> |
| Description | Git Conflict: Choose None |
|---|
| Left hand side | <Plug>(git-conflict-none) |
| Right hand side | <Cmd>GitConflictChooseNone<CR> |
| Description | Git Conflict: Choose Both |
|---|
| Left hand side | <Plug>(git-conflict-both) |
| Right hand side | <Cmd>GitConflictChooseBoth<CR> |
| Description | Git Conflict: Choose Ours |
|---|
| Left hand side | <Plug>(git-conflict-ours) |
| Right hand side | <Cmd>GitConflictChooseOurs<CR> |
| Description | |
|---|
| Left hand side | <Plug>SpeedDatingFallbackDown |
| Right hand side | <C-X> |
| Description | |
|---|
| Left hand side | <Plug>SpeedDatingFallbackUp |
| Right hand side | <C-A> |
| Description | |
|---|
| Left hand side | <Plug>SpeedDatingNowUTC |
| Right hand side | :<C-U>call speeddating#timestamp(1,v:count)<CR> |
| Description | |
|---|
| Left hand side | <Plug>SpeedDatingNowLocal |
| Right hand side | :<C-U>call speeddating#timestamp(0,v:count)<CR> |
| Description | |
|---|
| Left hand side | <Plug>SpeedDatingDown |
| Right hand side | :<C-U>call speeddating#increment(-v:count1)<CR> |
| Description | |
|---|
| Left hand side | <Plug>SpeedDatingUp |
| Right hand side | :<C-U>call speeddating#increment(v:count1)<CR> |
| Description | Toggle Terminal |
|---|
| Left hand side | <F12> |
| Right hand side | <Cmd>execute v:count . "ToggleTerm"<CR> |
| Description | NvimTree |
|---|
| Left hand side | <C-E> |
| Right hand side | |
| Description | multicursor down |
|---|
| Left hand side | <C-Down> |
| Right hand side | |
| Description | |
|---|
| Left hand side | <M-9> |
| Right hand side | |
| Description | |
|---|
| Left hand side | <M-8> |
| Right hand side | |
| Description | |
|---|
| Left hand side | <M-7> |
| Right hand side | |
| Description | |
|---|
| Left hand side | <M-6> |
| Right hand side | |
| Description | |
|---|
| Left hand side | <M-5> |
| Right hand side | |
| Description | |
|---|
| Left hand side | <M-4> |
| Right hand side | |
| Description | |
|---|
| Left hand side | <M-3> |
| Right hand side | |
| Description | |
|---|
| Left hand side | <M-2> |
| Right hand side | |
| Description | |
|---|
| Left hand side | <M-1> |
| Right hand side | |
| Description | |
|---|
| Left hand side | <C-L> |
| Right hand side | <C-W>l |
Visual mode keymaps
| Description | |
|---|
| Left hand side | cf |
| Right hand side | |
| Description | |
|---|
| Left hand side | ca |
| Right hand side | <Cmd>'<lt>,'>lua vim.lsp.buf.code_action()<CR> |
| Description | comment box |
|---|
| Left hand side | ac |
| Right hand side | <Cmd>lua require('comment-box').lbox()<CR> |
| Description | multicursor |
|---|
| Left hand side | m |
| Right hand side | |
| Description | refactor |
|---|
| Left hand side | pr |
| 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 | |
|---|
| Left hand side | <lt> |
| Right hand side | <lt>gv |
| Description | |
|---|
| Left hand side | = |
| Right hand side | |
| Description | |
|---|
| Left hand side | > |
| Right hand side | >gv |
| Description | |
|---|
| Left hand side | J |
| Right hand side | :move '>+1<CR>gv-gv |
| Description | |
|---|
| Left hand side | K |
| Right hand side | :move '<lt>-2<CR>gv-gv |
| Description | Add a surrounding pair around a visual selection |
|---|
| Left hand side | S |
| Right hand side | <Plug>(nvim-surround-visual) |
| Description | |
|---|
| Left hand side | X |
| Right hand side | "_X |
| Description | |
|---|
| Left hand side | [% |
| Right hand side | <Plug>(MatchitVisualMultiBackward) |
| Description | |
|---|
| Left hand side | ]% |
| Right hand side | <Plug>(MatchitVisualMultiForward) |
| Description | |
|---|
| Left hand side | ` |
| Right hand side | u |
| Description | |
|---|
| Left hand side | a% |
| Right hand side | <Plug>(MatchitVisualTextObject) |
| Description | Around last textobject |
|---|
| Left hand side | al |
| Right hand side | |
| Description | Around next textobject |
|---|
| Left hand side | an |
| Right hand side | |
| Description | Around textobject |
|---|
| Left hand side | a |
| Right hand side | |
| Description | Operator keymap for printer.nvim |
|---|
| Left hand side | gp |
| Right hand side | |
| Description | |
|---|
| Left hand side | g% |
| Right hand side | <Plug>(MatchitVisualBackward) |
| Description | Move to right “around” |
|---|
| Left hand side | g] |
| Right hand side | |
| Description | Move to left “around” |
|---|
| Left hand side | g[ |
| Right hand side | |
| 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 | Align with preview |
|---|
| Left hand side | gA |
| Right hand side | |
| Description | Align |
|---|
| Left hand side | ga |
| Right hand side | |
| Description | Add a surrounding pair around a visual selection, on new lines |
|---|
| Left hand side | gS |
| Right hand side | <Plug>(nvim-surround-visual-line) |
| Description | Inside last textobject |
|---|
| Left hand side | il |
| Right hand side | |
| Description | Inside next textobject |
|---|
| Left hand side | in |
| Right hand side | |
| Description | Inside textobject |
|---|
| Left hand side | i |
| Right hand side | |
| Description | |
|---|
| Left hand side | p |
| Right hand side | "_dP |
| Description | |
|---|
| Left hand side | s |
| Right hand side | |
| Description | |
|---|
| Left hand side | x |
| Right hand side | "_x |
| Description | |
|---|
| Left hand side | <Plug>luasnip-expand-repeat |
| Right hand side | |
| Description | |
|---|
| Left hand side | <M-`> |
| Right hand side | U |
| 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>SpeedDatingDown |
| Right hand side | :<C-U>call speeddating#incrementvisual(-v:count1)<CR> |
| Description | |
|---|
| Left hand side | <Plug>SpeedDatingUp |
| Right hand side | :<C-U>call speeddating#incrementvisual(v:count1)<CR> |
| Description | Add a surrounding pair around a visual selection, on new lines |
|---|
| Left hand side | <Plug>(nvim-surround-visual-line) |
| Right hand side | <Esc><Cmd>lua require'nvim-surround'.visual_surround({ line_mode = true })<CR> |
| Description | Add a surrounding pair around a visual selection |
|---|
| Left hand side | <Plug>(nvim-surround-visual) |
| Right hand side | <Esc><Cmd>lua require'nvim-surround'.visual_surround({ line_mode = false })<CR> |
Operator mode keymaps
| 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 | Around last textobject |
|---|
| Left hand side | al |
| Right hand side | |
| Description | Around next textobject |
|---|
| Left hand side | an |
| Right hand side | |
| Description | Around textobject |
|---|
| Left hand side | a |
| Right hand side | |
| Description | |
|---|
| Left hand side | g% |
| Right hand side | <Plug>(MatchitOperationBackward) |
| Description | Move to right “around” |
|---|
| Left hand side | g] |
| Right hand side | |
| Description | Move to left “around” |
|---|
| Left hand side | g[ |
| Right hand side | |
| Description | Inside last textobject |
|---|
| Left hand side | il |
| Right hand side | |
| Description | Inside next textobject |
|---|
| Left hand side | in |
| Right hand side | |
| Description | Inside textobject |
|---|
| Left hand side | i |
| Right hand side | |
| Description | |
|---|
| Left hand side | s |
| Right hand side | |
| Description | |
|---|
| Left hand side | <Plug>luasnip-expand-repeat |
| 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> |