The popular personal Neovim configuration of SeniorMars
- Install and initialize:
lazyman -w SeniorMars - Configuration category: Personal
- Base configuration: Custom
- Plugin manager: Lazy
- Installation location:
~/.config/nvim-SeniorMars
Git repository
https://github.com/SeniorMars/dotfiles
Dotfyle entry
https://dotfyle.com/SeniorMars/dotfiles-config-nvim
Lazy managed plugins
SeniorMars Keymaps
Normal mode keymaps
| Description | |
|---|
| Left hand side | d |
| Right hand side | <Cmd>lua _G.diagnostic()<CR> |
| Description | |
|---|
| Left hand side | q |
| Right hand side | :<C-U>CocList<CR> |
| Description | |
|---|
| Left hand side | o |
| Right hand side | :<C-U>CocList outline<CR> |
| Description | |
|---|
| Left hand side | c |
| Right hand side | :<C-U>CocList commands<CR> |
| Description | |
|---|
| Left hand side | e |
| Right hand side | :<C-U>CocList extensions<CR> |
| Description | |
|---|
| Left hand side | f |
| Right hand side | <Plug>(coc-fix-current) |
| Description | |
|---|
| Left hand side | g |
| Right hand side | <Plug>(coc-codelens-action) |
| Description | |
|---|
| Left hand side | x |
| Right hand side | <Plug>(coc-codeaction-line) |
| Description | |
|---|
| Left hand side | s |
| Right hand side | <Plug>(coc-codeaction-source) |
| Description | |
|---|
| Left hand side | a |
| Right hand side | <Plug>(coc-codeaction-cursor) |
| Description | |
|---|
| Left hand side | l |
| Right hand side | <C-W>l |
| Description | |
|---|
| Left hand side | k |
| Right hand side | <C-W>k |
| Description | |
|---|
| Left hand side | j |
| Right hand side | <C-W>j |
| Description | |
|---|
| Left hand side | h |
| Right hand side | <C-W>h |
| Description | |
|---|
| Left hand side | t |
| Right hand side | :ToggleTerm size=60 direction=vertical<CR> |
| Description | |
|---|
| Left hand side | |
| Right hand side | :ToggleTerm size=15<CR> |
| 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 | |
| Description | |
|---|
| Left hand side | ,lg |
| Right hand side | <Cmd>lua Lazygit_toggle()<CR> |
| Description | |
|---|
| Left hand side | ,q |
| Right hand side | :lua VimtexPDFToggle()<CR> |
| Description | |
|---|
| Left hand side | ,0 |
| Right hand side | :silent !open -a Firefox %<CR> |
| Description | |
|---|
| Left hand side | ,gf |
| Right hand side | :Commits<CR> |
| Description | |
|---|
| Left hand side | ,gw |
| Right hand side | :Gwrite<CR> |
| Description | |
|---|
| Left hand side | ,ge |
| Right hand side | :Gedit<CR> |
| Description | |
|---|
| Left hand side | ,gd |
| Right hand side | :Gdiff<CR> |
| Description | |
|---|
| Left hand side | ,ga |
| Right hand side | :Git add %:p<CR><CR> |
| Description | |
|---|
| Left hand side | ,gg |
| Right hand side | :Git<CR> |
| Description | |
|---|
| Left hand side | ,* |
| Right hand side | :Grepper -tool rg -cword -noprompt<CR> |
| Description | |
|---|
| Left hand side | ,fS |
| Right hand side | :Rg |
| Description | |
|---|
| Left hand side | ,fs |
| Right hand side | :GrepperRg "" .<Left><Left><Left> |
| Description | |
|---|
| Left hand side | ,fh |
| Right hand side | :Telescope help_tags<CR> |
| Description | |
|---|
| Left hand side | ,fk |
| Right hand side | :Telescope keymaps<CR> |
| Description | |
|---|
| Left hand side | ,ft |
| Right hand side | :Telescope treesitter<CR> |
| Description | |
|---|
| Left hand side | ,fm |
| Right hand side | :Telescope man_pages<CR> |
| Description | |
|---|
| Left hand side | ,fb |
| Right hand side | :Telescope buffers<CR> |
| Description | |
|---|
| Left hand side | ,ff |
| Right hand side | :Telescope frecency workspace=CWD theme=ivy layout_config={height=0.4}<CR> |
| Description | |
|---|
| Left hand side | ,fl |
| Right hand side | :Telescope live_grep<CR> |
| Description | |
|---|
| Left hand side | ,,f |
| Right hand side | :Telescope git_files<CR> |
| Description | |
|---|
| Left hand side | ,wk |
| Right hand side | <C-W>t<C-H>K |
| Description | |
|---|
| Left hand side | ,wh |
| Right hand side | <C-W>t<C-H>H |
| Description | |
|---|
| Left hand side | ,sr |
| Right hand side | :%s/<lt><C-R><C-W>>//g<Left><Left> |
| Description | |
|---|
| Left hand side | ,5 |
| Right hand side | :lua SpellToggle()<CR> |
| Description | |
|---|
| Left hand side | ,4 |
| Right hand side | :Format<CR> |
| Description | |
|---|
| Left hand side | ,3 |
| Right hand side | :retab<CR>:FixWhitespace<CR> |
| Description | |
|---|
| Left hand side | ,2 |
| Right hand side | :bn<CR> |
| Description | |
|---|
| Left hand side | ,1 |
| Right hand side | :bp<CR> |
| Description | |
|---|
| Left hand side | ,z |
| Right hand side | [s1z=`` |
| Description | |
|---|
| Left hand side | ,sf |
| Right hand side | :source %<CR> |
| Description | |
|---|
| Left hand side | ,p |
| Right hand side | "+gp |
| Description | |
|---|
| Left hand side | ,P |
| Right hand side | "+gP |
| Description | |
|---|
| Left hand side | ,cp |
| Right hand side | :cprevious<CR> |
| Description | |
|---|
| Left hand side | ,cn |
| Right hand side | :cnext<CR> |
| Description | |
|---|
| Left hand side | ,cc |
| Right hand side | :bdelete<CR> |
| Description | |
|---|
| Left hand side | ,cd |
| Right hand side | :cd %:p:h<CR>:pwd<CR> |
| Description | |
|---|
| Left hand side | ,e |
| Right hand side | :Neoformat<CR> |
| Description | |
|---|
| Left hand side | ,lm |
| Right hand side | :Neorg inject-metadata<CR> |
| Description | |
|---|
| Left hand side | ,lc |
| Right hand side | :Neorg keybind all core.looking-glass.magnify-code-block<CR> |
| Description | |
|---|
| Left hand side | ,wd |
| Right hand side | :Neorg journal today<CR> |
| Description | |
|---|
| Left hand side | ,ww |
| Right hand side | :Neorg workspace notes<CR> |
| Description | |
|---|
| Left hand side | ,u |
| Right hand side | :UndotreeToggle<CR> |
| Description | |
|---|
| Left hand side | ,t |
| Right hand side | :lua require('neogen').generate()<CR> |
| Description | |
|---|
| Left hand side | ; |
| Right hand side | |
| Description | |
|---|
| Left hand side | F |
| Right hand side | |
| Description | |
|---|
| Left hand side | K |
| Right hand side | |
| Description | |
|---|
| Left hand side | T |
| Right hand side | |
| Description | Nvim builtin |
|---|
| Left hand side | Y |
| Right hand side | y$ |
| Description | |
|---|
| Left hand side | [g |
| Right hand side | <Plug>(coc-diagnostic-prev) |
| Description | |
|---|
| Left hand side | [% |
| Right hand side | <Plug>(MatchitNormalMultiBackward) |
| Description | |
|---|
| Left hand side | ]g |
| Right hand side | <Plug>(coc-diagnostic-next) |
| Description | |
|---|
| Left hand side | ]% |
| Right hand side | <Plug>(MatchitNormalMultiForward) |
| Description | |
|---|
| Left hand side | cp |
| Right hand side | yap<lt>S-}p |
| 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 | f |
| 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 | gr |
| Right hand side | <Plug>(coc-references) |
| Description | |
|---|
| Left hand side | gi |
| Right hand side | <Plug>(coc-implementation) |
| Description | |
|---|
| Left hand side | gy |
| Right hand side | <Plug>(coc-type-definition) |
| Description | |
|---|
| Left hand side | gd |
| Right hand side | <Plug>(coc-definition) |
| Description | |
|---|
| Left hand side | gs |
| Right hand side | <Plug>(GrepperOperator) |
| Description | |
|---|
| Left hand side | gx |
| Right hand side | <Plug>NetrwBrowseX |
| Description | |
|---|
| Left hand side | g% |
| Right hand side | <Plug>(MatchitNormalBackward) |
| Description | |
|---|
| Left hand side | g<Plug>(dial-decrement) |
| Right hand side | <Cmd>lua require"dial.command".select_augend_gnormal()<CR><Cmd>let &opfunc="dial#operator#decrement_gnormal"<CR>g@<Cmd>lua require("dial.command").textobj()<CR> |
| Description | |
|---|
| Left hand side | g<Plug>(dial-increment) |
| Right hand side | <Cmd>lua require"dial.command".select_augend_gnormal()<CR><Cmd>let &opfunc="dial#operator#increment_gnormal"<CR>g@<Cmd>lua require("dial.command").textobj()<CR> |
| Description | |
|---|
| Left hand side | j |
| Right hand side | (v:count ? 'j' : 'gj') |
| Description | |
|---|
| Left hand side | k |
| Right hand side | (v:count ? 'k' : 'gk') |
| Description | |
|---|
| Left hand side | t |
| Right hand side | |
| 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 | y<C-G> |
| Right hand side | :<C-U>call setreg(v:register, fugitive#Object(@%))<CR> |
| Description | |
|---|
| Left hand side | <C-K> |
| Right hand side | <Plug>(coc-rename) |
| Description | |
|---|
| Left hand side | <C-B> |
| Right hand side | coc#float#has_scroll() ? coc#float#scroll(0) : "<C-B>" |
| Description | |
|---|
| Left hand side | <C-F> |
| Right hand side | coc#float#has_scroll() ? coc#float#scroll(1) : "<C-F>" |
| Description | |
|---|
| Left hand side | <Left> |
| Right hand side | :vertical resize -2<CR> |
| Description | |
|---|
| Left hand side | <Right> |
| Right hand side | :vertical resize +2<CR> |
| Description | |
|---|
| Left hand side | <Up> |
| Right hand side | :resize -2<CR> |
| Description | |
|---|
| Left hand side | <Down> |
| Right hand side | :resize +2<CR> |
| Description | |
|---|
| Left hand side | <BS> |
| Right hand side | <lt>C-^ |
| Description | |
|---|
| Left hand side | <M-x> |
| Right hand side | |
| Description | |
|---|
| Left hand side | <C-X> |
| Right hand side | <Cmd>lua require"dial.command".select_augend_normal()<CR><Cmd>let &opfunc="dial#operator#decrement_normal"<CR>g@<Cmd>lua require("dial.command").textobj()<CR> |
| Description | |
|---|
| Left hand side | <C-A> |
| Right hand side | <Cmd>lua require"dial.command".select_augend_normal()<CR><Cmd>let &opfunc="dial#operator#increment_normal"<CR>g@<Cmd>lua require("dial.command").textobj()<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>VimspectorDisassemble |
| Right hand side | :<C-U>call vimspector#ShowDisassembly()<CR> |
| Description | |
|---|
| Left hand side | <Plug>VimspectorBreakpoints |
| Right hand side | :<C-U>call vimspector#ListBreakpoints()<CR> |
| Description | |
|---|
| Left hand side | <Plug>VimspectorJumpToProgramCounter |
| Right hand side | :<C-U>call vimspector#JumpToProgramCounter()<CR> |
| Description | |
|---|
| Left hand side | <Plug>VimspectorJumpToPreviousBreakpoint |
| Right hand side | :<C-U>call <SNR>30_SetRepeat( "\<Plug>VimspectorJumpToPreviousBreakpoint" )<CR> :<C-U>call vimspector#JumpToPreviousBreakpoint()<CR> |
| Description | |
|---|
| Left hand side | <Plug>VimspectorJumpToNextBreakpoint |
| Right hand side | :<C-U>call <SNR>30_SetRepeat( "\<Plug>VimspectorJumpToNextBreakpoint" )<CR> :<C-U>call vimspector#JumpToNextBreakpoint()<CR> |
| Description | |
|---|
| Left hand side | <Plug>VimspectorDownFrame |
| Right hand side | :<C-U>call <SNR>30_SetRepeat( "\<Plug>VimspectorDownFrame" )<CR>:<C-U>call vimspector#DownFrame()<CR> |
| Description | |
|---|
| Left hand side | <Plug>VimspectorUpFrame |
| Right hand side | :<C-U>call <SNR>30_SetRepeat( "\<Plug>VimspectorUpFrame" )<CR>:<C-U>call vimspector#UpFrame()<CR> |
| Description | |
|---|
| Left hand side | <Plug>VimspectorBalloonEval |
| Right hand side | :<C-U>call <SNR>30_SetRepeat( "\<Plug>VimspectorBalloonEval" )<CR>:<C-U>call vimspector#ShowEvalBalloon( 0 )<CR> |
| Description | |
|---|
| Left hand side | <Plug>VimspectorGoToCurrentLine |
| Right hand side | :<C-U>call <SNR>30_SetRepeat( "\<Plug>VimspectorGoToCurrentLine" )<CR>:<C-U>call vimspector#GoToCurrentLine()<CR> |
| Description | |
|---|
| Left hand side | <Plug>VimspectorRunToCursor |
| Right hand side | :<C-U>call <SNR>30_SetRepeat( "\<Plug>VimspectorRunToCursor" )<CR>:<C-U>call vimspector#RunToCursor()<CR> |
| Description | |
|---|
| Left hand side | <Plug>VimspectorStepOut |
| Right hand side | :<C-U>call <SNR>30_SetRepeat( "\<Plug>VimspectorStepOut" )<CR>:<C-U>call vimspector#StepOut()<CR> |
| Description | |
|---|
| Left hand side | <Plug>VimspectorStepInto |
| Right hand side | :<C-U>call <SNR>30_SetRepeat( "\<Plug>VimspectorStepInto" )<CR>:<C-U>call vimspector#StepInto()<CR> |
| Description | |
|---|
| Left hand side | <Plug>VimspectorStepOver |
| Right hand side | :<C-U>call <SNR>30_SetRepeat( "\<Plug>VimspectorStepOver" )<CR>:<C-U>call vimspector#StepOver()<CR> |
| Description | |
|---|
| Left hand side | <Plug>VimspectorAddFunctionBreakpoint |
| Right hand side | :<C-U>call <SNR>30_SetRepeat( "\<Plug>VimspectorAddFunctionBreakpoint" )<CR>:<C-U>call vimspector#AddFunctionBreakpoint( expand( '<lt>cexpr>' ) )<CR> |
| Description | |
|---|
| Left hand side | <Plug>VimspectorToggleConditionalBreakpoint |
| Right hand side | :<C-U>call <SNR>30_SetRepeat( "\<Plug>VimspectorToggleConditionalBreakpoint" )<CR>:<C-U>call vimspector#ToggleAdvancedBreakpoint()<CR> |
| Description | |
|---|
| Left hand side | <Plug>VimspectorToggleBreakpoint |
| Right hand side | :<C-U>call <SNR>30_SetRepeat( "\<Plug>VimspectorToggleBreakpoint" )<CR>:<C-U>call vimspector#ToggleBreakpoint()<CR> |
| Description | |
|---|
| Left hand side | <Plug>VimspectorPause |
| Right hand side | :<C-U>call vimspector#Pause()<CR> |
| Description | |
|---|
| Left hand side | <Plug>VimspectorRestart |
| Right hand side | :<C-U>call vimspector#Restart()<CR> |
| Description | |
|---|
| Left hand side | <Plug>VimspectorStop |
| Right hand side | :<C-U>call vimspector#Stop()<CR> |
| Description | |
|---|
| Left hand side | <Plug>VimspectorLaunch |
| Right hand side | :<C-U>call vimspector#Launch( v:true )<CR> |
| Description | |
|---|
| Left hand side | <Plug>VimspectorContinue |
| Right hand side | :<C-U>call <SNR>30_SetRepeat( "\<Plug>VimspectorContinue" )<CR>:<C-U>call vimspector#Continue()<CR> |
| Description | |
|---|
| Left hand side | <Plug>(GrepperOperator) |
| Right hand side | :set opfunc=GrepperOperator<CR>g@ |
| 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 | |
|---|
| Left hand side | <Plug>fugitive: |
| Right hand side | |
| Description | |
|---|
| Left hand side | <Plug>fugitive:y<C-G> |
| Right hand side | :<C-U>call setreg(v:register, fugitive#Object(@%))<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_file(vim.fn.expand("%:p"))<CR> |
| Description | |
|---|
| Left hand side | <Plug>(dial-decrement) |
| Right hand side | <Cmd>lua require"dial.command".select_augend_normal()<CR><Cmd>let &opfunc="dial#operator#decrement_normal"<CR>g@<Cmd>lua require("dial.command").textobj()<CR> |
| Description | |
|---|
| Left hand side | <Plug>(dial-increment) |
| Right hand side | <Cmd>lua require"dial.command".select_augend_normal()<CR><Cmd>let &opfunc="dial#operator#increment_normal"<CR>g@<Cmd>lua require("dial.command").textobj()<CR> |
| Description | |
|---|
| Left hand side | <Plug>(coc-cursors-position) |
| Right hand side | :<C-U>call CocAction('cursorsSelect', bufnr('%'), 'position', 'n')<CR> |
| Description | |
|---|
| Left hand side | <Plug>(coc-cursors-word) |
| Right hand side | :<C-U>call CocAction('cursorsSelect', bufnr('%'), 'word', 'n')<CR> |
| Description | |
|---|
| Left hand side | <Plug>(coc-cursors-operator) |
| Right hand side | :<C-U>set operatorfunc=<SNR>6_CursorRangeFromSelected<CR>g@ |
| Description | |
|---|
| Left hand side | <Plug>(coc-refactor) |
| Right hand side | :<C-U>call CocActionAsync('refactor')<CR> |
| Description | |
|---|
| Left hand side | <Plug>(coc-command-repeat) |
| Right hand side | :<C-U>call CocAction('repeatCommand')<CR> |
| Description | |
|---|
| Left hand side | <Plug>(coc-float-jump) |
| Right hand side | :<C-U>call coc#float#jump()<CR> |
| Description | |
|---|
| Left hand side | <Plug>(coc-float-hide) |
| Right hand side | :<C-U>call coc#float#close_all()<CR> |
| Description | |
|---|
| Left hand side | <Plug>(coc-fix-current) |
| Right hand side | :<C-U>call CocActionAsync('doQuickfix')<CR> |
| Description | |
|---|
| Left hand side | <Plug>(coc-openlink) |
| Right hand side | :<C-U>call CocActionAsync('openLink')<CR> |
| Description | |
|---|
| Left hand side | <Plug>(coc-references-used) |
| Right hand side | :<C-U>call CocActionAsync('jumpUsed')<CR> |
| Description | |
|---|
| Left hand side | <Plug>(coc-references) |
| Right hand side | :<C-U>call CocActionAsync('jumpReferences')<CR> |
| Description | |
|---|
| Left hand side | <Plug>(coc-type-definition) |
| Right hand side | :<C-U>call CocActionAsync('jumpTypeDefinition')<CR> |
| Description | |
|---|
| Left hand side | <Plug>(coc-implementation) |
| Right hand side | :<C-U>call CocActionAsync('jumpImplementation')<CR> |
| Description | |
|---|
| Left hand side | <Plug>(coc-declaration) |
| Right hand side | :<C-U>call CocActionAsync('jumpDeclaration')<CR> |
| Description | |
|---|
| Left hand side | <Plug>(coc-definition) |
| Right hand side | :<C-U>call CocActionAsync('jumpDefinition')<CR> |
| Description | |
|---|
| Left hand side | <Plug>(coc-diagnostic-prev-error) |
| Right hand side | :<C-U>call CocActionAsync('diagnosticPrevious', 'error')<CR> |
| Description | |
|---|
| Left hand side | <Plug>(coc-diagnostic-next-error) |
| Right hand side | :<C-U>call CocActionAsync('diagnosticNext', 'error')<CR> |
| Description | |
|---|
| Left hand side | <Plug>(coc-diagnostic-prev) |
| Right hand side | :<C-U>call CocActionAsync('diagnosticPrevious')<CR> |
| Description | |
|---|
| Left hand side | <Plug>(coc-diagnostic-next) |
| Right hand side | :<C-U>call CocActionAsync('diagnosticNext')<CR> |
| Description | |
|---|
| Left hand side | <Plug>(coc-diagnostic-info) |
| Right hand side | :<C-U>call CocActionAsync('diagnosticInfo')<CR> |
| Description | |
|---|
| Left hand side | <Plug>(coc-format) |
| Right hand side | :<C-U>call CocActionAsync('format')<CR> |
| Description | |
|---|
| Left hand side | <Plug>(coc-format-selected) |
| Right hand side | :<C-U>set operatorfunc=<SNR>6_FormatFromSelected<CR>g@ |
| Description | |
|---|
| Left hand side | <Plug>(coc-rename) |
| Right hand side | :<C-U>call CocActionAsync('rename')<CR> |
| Description | |
|---|
| Left hand side | <Plug>(coc-codeaction-source) |
| Right hand side | :<C-U>call CocActionAsync('codeAction', '', ['source'], v:true)<CR> |
| Description | |
|---|
| Left hand side | <Plug>(coc-codeaction-refactor) |
| Right hand side | :<C-U>call CocActionAsync('codeAction', 'cursor', ['refactor'], v:true)<CR> |
| Description | |
|---|
| Left hand side | <Plug>(coc-codeaction-cursor) |
| Right hand side | :<C-U>call CocActionAsync('codeAction', 'cursor')<CR> |
| Description | |
|---|
| Left hand side | <Plug>(coc-codeaction-line) |
| Right hand side | :<C-U>call CocActionAsync('codeAction', 'currline')<CR> |
| Description | |
|---|
| Left hand side | <Plug>(coc-codeaction) |
| Right hand side | :<C-U>call CocActionAsync('codeAction', '')<CR> |
| Description | |
|---|
| Left hand side | <Plug>(coc-codeaction-refactor-selected) |
| Right hand side | :<C-U>set operatorfunc=<SNR>6_CodeActionRefactorFromSelected<CR>g@ |
| Description | |
|---|
| Left hand side | <Plug>(coc-codeaction-selected) |
| Right hand side | :<C-U>set operatorfunc=<SNR>6_CodeActionFromSelected<CR>g@ |
| Description | |
|---|
| Left hand side | <Plug>(coc-codelens-action) |
| Right hand side | :<C-U>call CocActionAsync('codeLensAction')<CR> |
| Description | |
|---|
| Left hand side | <Plug>(coc-range-select) |
| Right hand side | :<C-U>call CocActionAsync('rangeSelect', '', v:true)<CR> |
| 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 | a |
| Right hand side | <Plug>(coc-codeaction-selected) |
| 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 | , |
| Right hand side | |
| Description | |
|---|
| Left hand side | ,y |
| Right hand side | "*y :let @+=@*<CR> |
| Description | |
|---|
| Left hand side | . |
| Right hand side | :norm.<CR> |
| Description | |
|---|
| Left hand side | ; |
| Right hand side | |
| Description | |
|---|
| Left hand side | @(targets) |
| Right hand side | :<C-U>call targets#do()<CR> |
| Description | |
|---|
| Left hand side | A |
| Right hand side | targets#e('o', 'A', 'A') |
| Description | |
|---|
| Left hand side | F |
| Right hand side | |
| Description | |
|---|
| Left hand side | I |
| Right hand side | targets#e('o', 'I', 'I') |
| Description | |
|---|
| Left hand side | J |
| Right hand side | :m '>+1<CR>gv=gv |
| Description | |
|---|
| Left hand side | K |
| Right hand side | :m '<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 | T |
| Right hand side | |
| Description | |
|---|
| Left hand side | [% |
| Right hand side | <Plug>(MatchitVisualMultiBackward) |
| Description | |
|---|
| Left hand side | ]% |
| Right hand side | <Plug>(MatchitVisualMultiForward) |
| Description | |
|---|
| Left hand side | a% |
| Right hand side | <Plug>(MatchitVisualTextObject) |
| Description | |
|---|
| Left hand side | a |
| Right hand side | targets#e('o', 'a', 'a') |
| Description | |
|---|
| Left hand side | f |
| 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 | |
|---|
| Left hand side | gs |
| Right hand side | <Plug>(GrepperOperator) |
| Description | |
|---|
| Left hand side | g<C-X> |
| Right hand side | <Cmd>lua require"dial.command".select_augend_gvisual()<CR><Cmd>let &opfunc="dial#operator#decrement_gvisual"<CR>g@ |
| Description | |
|---|
| Left hand side | g<C-A> |
| Right hand side | <Cmd>lua require"dial.command".select_augend_gvisual()<CR><Cmd>let &opfunc="dial#operator#increment_gvisual"<CR>g@ |
| Description | |
|---|
| Left hand side | gx |
| Right hand side | <Plug>NetrwBrowseXVis |
| Description | |
|---|
| Left hand side | g% |
| Right hand side | <Plug>(MatchitVisualBackward) |
| 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 | |
|---|
| Left hand side | g<Plug>(dial-decrement) |
| Right hand side | <Cmd>lua require"dial.command".select_augend_gvisual()<CR><Cmd>let &opfunc="dial#operator#decrement_gvisual"<CR>g@gv |
| Description | |
|---|
| Left hand side | g<Plug>(dial-increment) |
| Right hand side | <Cmd>lua require"dial.command".select_augend_gvisual()<CR><Cmd>let &opfunc="dial#operator#increment_gvisual"<CR>g@gv |
| Description | |
|---|
| Left hand side | i |
| Right hand side | targets#e('o', 'i', 'i') |
| Description | |
|---|
| Left hand side | t |
| Right hand side | |
| Description | |
|---|
| Left hand side | <C-B> |
| Right hand side | coc#float#has_scroll() ? coc#float#scroll(0) : "<C-B>" |
| Description | |
|---|
| Left hand side | <C-F> |
| Right hand side | coc#float#has_scroll() ? coc#float#scroll(1) : "<C-F>" |
| Description | |
|---|
| Left hand side | <C-X> |
| Right hand side | <Cmd>lua require"dial.command".select_augend_visual()<CR><Cmd>let &opfunc="dial#operator#decrement_visual"<CR>g@ |
| Description | |
|---|
| Left hand side | <C-A> |
| Right hand side | <Cmd>lua require"dial.command".select_augend_visual()<CR><Cmd>let &opfunc="dial#operator#increment_visual"<CR>g@ |
| 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 | 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> |
| Description | |
|---|
| Left hand side | <Plug>(dial-decrement) |
| Right hand side | <Cmd>lua require"dial.command".select_augend_visual()<CR><Cmd>let &opfunc="dial#operator#decrement_visual"<CR>g@gv |
| Description | |
|---|
| Left hand side | <Plug>(dial-increment) |
| Right hand side | <Cmd>lua require"dial.command".select_augend_visual()<CR><Cmd>let &opfunc="dial#operator#increment_visual"<CR>g@gv |
| Description | |
|---|
| Left hand side | <Plug>VimspectorBalloonEval |
| Right hand side | :<C-U>call <SNR>13_SetRepeat( "\<Plug>VimspectorBalloonEval" )<CR>:<C-U>call vimspector#ShowEvalBalloon( 1 )<CR> |
| Description | |
|---|
| Left hand side | <Plug>(GrepperOperator) |
| Right hand side | :<C-U>call GrepperOperator(visualmode())<CR> |
| Description | |
|---|
| Left hand side | <Plug>(coc-classobj-a) |
| Right hand side | :<C-U>call CocAction('selectSymbolRange', v:false, visualmode(), ['Interface', 'Struct', 'Class'])<CR> |
| Description | |
|---|
| Left hand side | <Plug>(coc-classobj-i) |
| Right hand side | :<C-U>call CocAction('selectSymbolRange', v:true, visualmode(), ['Interface', 'Struct', 'Class'])<CR> |
| Description | |
|---|
| Left hand side | <Plug>(coc-funcobj-a) |
| Right hand side | :<C-U>call CocAction('selectSymbolRange', v:false, visualmode(), ['Method', 'Function'])<CR> |
| Description | |
|---|
| Left hand side | <Plug>(coc-funcobj-i) |
| Right hand side | :<C-U>call CocAction('selectSymbolRange', v:true, visualmode(), ['Method', 'Function'])<CR> |
| Description | |
|---|
| Left hand side | <Plug>(coc-cursors-range) |
| Right hand side | :<C-U>call CocAction('cursorsSelect', bufnr('%'), 'range', visualmode())<CR> |
| Description | |
|---|
| Left hand side | <Plug>(coc-codeaction-refactor-selected) |
| Right hand side | :<C-U>call CocActionAsync('codeAction', visualmode(), ['refactor'], v:true)<CR> |
| Description | |
|---|
| Left hand side | <Plug>(coc-codeaction-selected) |
| Right hand side | :<C-U>call CocActionAsync('codeAction', visualmode())<CR> |
| Description | |
|---|
| Left hand side | <Plug>(coc-format-selected) |
| Right hand side | :<C-U>call CocActionAsync('formatSelected', visualmode())<CR> |
| Description | |
|---|
| Left hand side | <Plug>(coc-range-select-backward) |
| Right hand side | :<C-U>call CocActionAsync('rangeSelect', visualmode(), v:false)<CR> |
| Description | |
|---|
| Left hand side | <Plug>(coc-range-select) |
| Right hand side | :<C-U>call CocActionAsync('rangeSelect', visualmode(), v:true)<CR> |
Operator mode keymaps
| Description | |
|---|
| Left hand side | % |
| Right hand side | <Plug>(MatchitOperationForward) |
| Description | |
|---|
| Left hand side | , |
| Right hand side | |
| Description | |
|---|
| Left hand side | ; |
| Right hand side | |
| Description | |
|---|
| Left hand side | @(targets) |
| Right hand side | :<C-U>call targets#do()<CR> |
| Description | |
|---|
| Left hand side | A |
| Right hand side | targets#e('o', 'A', 'A') |
| Description | |
|---|
| Left hand side | F |
| Right hand side | |
| Description | |
|---|
| Left hand side | I |
| Right hand side | targets#e('o', 'I', 'I') |
| 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 | targets#e('o', 'a', 'a') |
| Description | |
|---|
| Left hand side | f |
| Right hand side | |
| Description | |
|---|
| Left hand side | g% |
| Right hand side | <Plug>(MatchitOperationBackward) |
| Description | |
|---|
| Left hand side | i |
| Right hand side | targets#e('o', 'i', 'i') |
| 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 | <Plug>(coc-classobj-a) |
| Right hand side | :<C-U>call CocAction('selectSymbolRange', v:false, '', ['Interface', 'Struct', 'Class'])<CR> |
| Description | |
|---|
| Left hand side | <Plug>(coc-classobj-i) |
| Right hand side | :<C-U>call CocAction('selectSymbolRange', v:true, '', ['Interface', 'Struct', 'Class'])<CR> |
| Description | |
|---|
| Left hand side | <Plug>(coc-funcobj-a) |
| Right hand side | :<C-U>call CocAction('selectSymbolRange', v:false, '', ['Method', 'Function'])<CR> |
| Description | |
|---|
| Left hand side | <Plug>(coc-funcobj-i) |
| Right hand side | :<C-U>call CocAction('selectSymbolRange', v:true, '', ['Method', 'Function'])<CR> |