Post

Ecovim Neovim Configuration Information

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>
Descriptionsave session
Left hand side /ss
Right hand side<Cmd>SessionManager save_current_session<CR>
Descriptionload last session
Left hand side /sl
Right hand side<Cmd>SessionManager load_last_session<CR>
Descriptionload current dir session
Left hand side /sd
Right hand side<Cmd>SessionManager load_current_dir_session<CR>
Descriptionremove session
Left hand side /sr
Right hand side<Cmd>SessionManager delete_session<CR>
Descriptionchoose session
Left hand side /sc
Right hand side<Cmd>SessionManager load_session<CR>
DescriptionMason
Left hand side cm
Right hand side<Cmd>Mason<CR>
Descriptioncomment 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>
Descriptionchoose theirs
Left hand side gct
Right hand side<Cmd>GitConflictChooseTheirs<CR>
Descriptionmove to prev conflict
Left hand side gcp
Right hand side<Cmd>GitConflictPrevConflict<CR>
Descriptionchoose ours
Left hand side gco
Right hand side<Cmd>GitConflictChooseOurs<CR>
Descriptionmove to next conflict
Left hand side gcn
Right hand side<Cmd>GitConflictNextConflict<CR>
Descriptionchoose both
Left hand side gcb
Right hand side<Cmd>GitConflictChooseBoth<CR>
Descriptionterminal float
Left hand side at
Right hand side<Cmd>ToggleTerm direction=float<CR>
Descriptionmulticursor
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 
Descriptionrefactor
Left hand side pr
Right hand side 
Descriptionlazygit
Left hand side gg
Right hand side 
Descriptionreset hunk
Left hand side ghr
Right hand side 
Descriptionreset buffer
Left hand side ghR
Right hand side 
Descriptionpreview
Left hand side ghp
Right hand side 
Descriptiondiff hunk
Left hand side ghd
Right hand side 
Descriptionundo stage
Left hand side ghu
Right hand side 
Descriptiontoggle deleted
Left hand side ght
Right hand side 
Descriptionstage buffer
Left hand side ghS
Right hand side 
Descriptionstage hunk
Left hand side ghs
Right hand side 
Descriptiongenerate git message
Left hand side ag
Right hand side 
Descriptionsummarize text
Left hand side as
Right hand side 
DescriptionClose Left
Left hand side bl
Right hand side 
DescriptionMove 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 
DescriptionSort by relative dir
Left hand side bsr
Right hand side 
DescriptionSort by extension
Left hand side bse
Right hand side 
DescriptionSort by directory
Left hand side bsd
Right hand side 
DescriptionPin/Unpin Buffer
Left hand side bP
Right hand side 
DescriptionPick Buffer
Left hand side bp
Right hand side 
DescriptionMove next
Left hand side bn
Right hand side 
DescriptionClose Right
Left hand side br
Right hand side 
Descriptiondiff file
Left hand side gd
Right hand side 
Descriptionstatus
Left hand side gs
Right hand side 
Description 
Left hand side%
Right hand side<Plug>(MatchitNormalForward)
DescriptionNvim 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 sideH
Right hand side^
Description 
Left hand sideK
Right hand side 
Description 
Left hand sideL
Right hand side<Cmd>lua vim.lsp.buf.signature_help()<CR>
Description 
Left hand sideP
Right hand side<Cmd>lua require('plugins.telescope.pickers.multi-rg')()<CR>
Description 
Left hand sideQ
Right hand side:lua require('mini.bufremove').delete(0, false)<CR>
Description 
Left hand sideX
Right hand side"_X
DescriptionNvim builtin
Left hand sideY
Right hand sidey$
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)
DescriptionPrevious 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)
DescriptionNext todo comment
Left hand side]t
Right hand side 
DescriptionChange a surrounding pair, putting replacements on new lines
Left hand sidecS
Right hand side<Plug>(nvim-surround-change-line)
DescriptionChange a surrounding pair
Left hand sidecs
Right hand side<Plug>(nvim-surround-change)
DescriptionDelete a surrounding pair
Left hand sideds
Right hand side<Plug>(nvim-surround-delete)
Description 
Left hand sidegP
Right hand side<Plug>(printer_print)iw
Description 
Left hand sidegl
Right hand side<Cmd>lua vim.diagnostic.open_float({ border = 'rounded', max_width = 100 })<CR>
Description 
Left hand sidegx
Right hand side<Cmd>silent execute '!xdg-open ' . shellescape('<lt>cWORD>')<CR>
DescriptionOperator keymap for printer.nvim
Left hand sidegp
Right hand side 
Description 
Left hand sidegn
Right hand side:bn<CR>
Description 
Left hand sideg%
Right hand side<Plug>(MatchitNormalBackward)
DescriptionAlign with preview
Left hand sidegA
Right hand side 
DescriptionAlign
Left hand sidega
Right hand side 
DescriptionComment insert end of line
Left hand sidegcA
Right hand side 
DescriptionComment insert above
Left hand sidegcO
Right hand side 
DescriptionComment insert below
Left hand sidegco
Right hand side 
DescriptionComment toggle current block
Left hand sidegbc
Right hand side 
DescriptionComment toggle current line
Left hand sidegcc
Right hand side 
DescriptionComment toggle blockwise
Left hand sidegb
Right hand side<Plug>(comment_toggle_blockwise)
DescriptionComment toggle linewise
Left hand sidegc
Right hand side<Plug>(comment_toggle_linewise)
Description 
Left hand sidegs
Right hand side<Plug>(Switch)
DescriptionMove to right “around”
Left hand sideg]
Right hand side 
DescriptionMove to left “around”
Left hand sideg[
Right hand side 
DescriptionLSP Implementations
Left hand sidegm
Right hand side 
DescriptionLSP References
Left hand sidegr
Right hand side 
DescriptionLSP Definition
Left hand sidegd
Right hand side 
DescriptionLSP Type Definitions
Left hand sidegy
Right hand side 
DescriptionToggle Split/Join
Left hand sidegJ
Right hand side 
Description 
Left hand sides
Right hand side 
Description 
Left hand sidex
Right hand side"_x
DescriptionAdd a surrounding pair around the current line, on new lines (normal mode)
Left hand sideySS
Right hand side<Plug>(nvim-surround-normal-cur-line)
DescriptionAdd a surrounding pair around a motion, on new lines (normal mode)
Left hand sideyS
Right hand side<Plug>(nvim-surround-normal-line)
DescriptionAdd a surrounding pair around the current line (normal mode)
Left hand sideyss
Right hand side<Plug>(nvim-surround-normal-cur)
DescriptionAdd a surrounding pair around a motion (normal mode)
Left hand sideys
Right hand side<Plug>(nvim-surround-normal)
Description 
Left hand sidezr
Right hand side 
Description 
Left hand sidezM
Right hand side 
Description 
Left hand sidezR
Right hand side 
DescriptionGet 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>
DescriptionChange a surrounding pair, putting replacements on new lines
Left hand side<Plug>(nvim-surround-change-line)
Right hand side 
DescriptionChange a surrounding pair
Left hand side<Plug>(nvim-surround-change)
Right hand side 
DescriptionDelete a surrounding pair
Left hand side<Plug>(nvim-surround-delete)
Right hand side 
DescriptionAdd a surrounding pair around the current line, on new lines (normal mode)
Left hand side<Plug>(nvim-surround-normal-cur-line)
Right hand side 
DescriptionAdd a surrounding pair around a motion, on new lines (normal mode)
Left hand side<Plug>(nvim-surround-normal-line)
Right hand side 
DescriptionAdd a surrounding pair around the current line (normal mode)
Left hand side<Plug>(nvim-surround-normal-cur)
Right hand side 
DescriptionAdd a surrounding pair around a motion (normal mode)
Left hand side<Plug>(nvim-surround-normal)
Right hand side 
DescriptionComment toggle blockwise with count
Left hand side<Plug>(comment_toggle_blockwise_count)
Right hand side 
DescriptionComment toggle linewise with count
Left hand side<Plug>(comment_toggle_linewise_count)
Right hand side 
DescriptionComment toggle current block
Left hand side<Plug>(comment_toggle_blockwise_current)
Right hand side 
DescriptionComment toggle current line
Left hand side<Plug>(comment_toggle_linewise_current)
Right hand side 
DescriptionComment toggle blockwise
Left hand side<Plug>(comment_toggle_blockwise)
Right hand side 
DescriptionComment toggle linewise
Left hand side<Plug>(comment_toggle_linewise)
Right hand side 
Description 
Left hand side<Plug>(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>
DescriptionGit Conflict: Previous Conflict
Left hand side<Plug>(git-conflict-prev-conflict)
Right hand side<Cmd>GitConflictPrevConflict<CR>
DescriptionGit Conflict: Next Conflict
Left hand side<Plug>(git-conflict-next-conflict)
Right hand side<Cmd>GitConflictNextConflict<CR>
DescriptionGit Conflict: Choose Theirs
Left hand side<Plug>(git-conflict-theirs)
Right hand side<Cmd>GitConflictChooseTheirs<CR>
DescriptionGit Conflict: Choose None
Left hand side<Plug>(git-conflict-none)
Right hand side<Cmd>GitConflictChooseNone<CR>
DescriptionGit Conflict: Choose Both
Left hand side<Plug>(git-conflict-both)
Right hand side<Cmd>GitConflictChooseBoth<CR>
DescriptionGit 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>
DescriptionToggle Terminal
Left hand side<F12>
Right hand side<Cmd>execute v:count . "ToggleTerm"<CR>
DescriptionNvimTree
Left hand side<C-E>
Right hand side 
Descriptionmulticursor 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>
Descriptioncomment box
Left hand side ac
Right hand side<Cmd>lua require('comment-box').lbox()<CR>
Descriptionmulticursor
Left hand side m
Right hand side 
Descriptionrefactor
Left hand side pr
Right hand side 
DescriptionNvim builtin
Left hand side#
Right hand sidey?\V<C-R>"<CR>
Description 
Left hand side%
Right hand side<Plug>(MatchitVisualForward)
DescriptionNvim builtin
Left hand side*
Right hand sidey/\V<C-R>"<CR>
Description 
Left hand side<lt>
Right hand side<lt>gv
Description 
Left hand side=
Right hand side 
Description 
Left hand side>
Right hand side>gv
Description 
Left hand sideJ
Right hand side:move '>+1<CR>gv-gv
Description 
Left hand sideK
Right hand side:move '<lt>-2<CR>gv-gv
DescriptionAdd a surrounding pair around a visual selection
Left hand sideS
Right hand side<Plug>(nvim-surround-visual)
Description 
Left hand sideX
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 sideu
Description 
Left hand sidea%
Right hand side<Plug>(MatchitVisualTextObject)
DescriptionAround last textobject
Left hand sideal
Right hand side 
DescriptionAround next textobject
Left hand sidean
Right hand side 
DescriptionAround textobject
Left hand sidea
Right hand side 
DescriptionOperator keymap for printer.nvim
Left hand sidegp
Right hand side 
Description 
Left hand sideg%
Right hand side<Plug>(MatchitVisualBackward)
DescriptionMove to right “around”
Left hand sideg]
Right hand side 
DescriptionMove to left “around”
Left hand sideg[
Right hand side 
DescriptionComment toggle blockwise (visual)
Left hand sidegb
Right hand side<Plug>(comment_toggle_blockwise_visual)
DescriptionComment toggle linewise (visual)
Left hand sidegc
Right hand side<Plug>(comment_toggle_linewise_visual)
DescriptionAlign with preview
Left hand sidegA
Right hand side 
DescriptionAlign
Left hand sidega
Right hand side 
DescriptionAdd a surrounding pair around a visual selection, on new lines
Left hand sidegS
Right hand side<Plug>(nvim-surround-visual-line)
DescriptionInside last textobject
Left hand sideil
Right hand side 
DescriptionInside next textobject
Left hand sidein
Right hand side 
DescriptionInside textobject
Left hand sidei
Right hand side 
Description 
Left hand sidep
Right hand side"_dP
Description 
Left hand sides
Right hand side 
Description 
Left hand sidex
Right hand side"_x
Description 
Left hand side<Plug>luasnip-expand-repeat
Right hand side 
Description 
Left hand side<M-`>
Right hand sideU
Description 
Left hand side<Plug>(MatchitVisualTextObject)
Right hand side<Plug>(MatchitVisualMultiBackward)o<Plug>(MatchitVisualMultiForward)
Description 
Left hand side<Plug>(MatchitVisualMultiForward)
Right hand side:<C-U>call matchit#MultiMatch("W", "n")<CR>m'gv``
Description 
Left hand side<Plug>(MatchitVisualMultiBackward)
Right hand side:<C-U>call matchit#MultiMatch("bW", "n")<CR>m'gv``
Description 
Left hand side<Plug>(MatchitVisualBackward)
Right hand side:<C-U>call matchit#Match_wrapper('',0,'v')<CR>m'gv``
Description 
Left hand side<Plug>(MatchitVisualForward)
Right hand side:<C-U>call matchit#Match_wrapper('',1,'v')<CR>:if col("''") != col("$") | exe ":normal! m'" | endif<CR>gv``
DescriptionComment toggle blockwise (visual)
Left hand side<Plug>(comment_toggle_blockwise_visual)
Right hand side<Esc><Cmd>lua require("Comment.api").locked("toggle.blockwise")(vim.fn.visualmode())<CR>
DescriptionComment toggle linewise (visual)
Left hand side<Plug>(comment_toggle_linewise_visual)
Right hand side<Esc><Cmd>lua require("Comment.api").locked("toggle.linewise")(vim.fn.visualmode())<CR>
Description 
Left hand side<Plug>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>
DescriptionAdd 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>
DescriptionAdd 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)
DescriptionAround last textobject
Left hand sideal
Right hand side 
DescriptionAround next textobject
Left hand sidean
Right hand side 
DescriptionAround textobject
Left hand sidea
Right hand side 
Description 
Left hand sideg%
Right hand side<Plug>(MatchitOperationBackward)
DescriptionMove to right “around”
Left hand sideg]
Right hand side 
DescriptionMove to left “around”
Left hand sideg[
Right hand side 
DescriptionInside last textobject
Left hand sideil
Right hand side 
DescriptionInside next textobject
Left hand sidein
Right hand side 
DescriptionInside textobject
Left hand sidei
Right hand side 
Description 
Left hand sides
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>