Post

SaleVim Neovim Configuration Information

‘Salesforce’ optimized IDE with custom features for editing ‘Apex’, ‘Visualforce’, and ‘Lightning’ code

  • Install and initialize: lazyman -L SaleVim
  • Configuration category: Language
  • Base configuration: Custom
  • Plugin manager: Packer
  • Installation location: ~/.config/nvim-SaleVim

Git repository

https://github.com/igorcguedes/SaleVim

Packer managed plugins

SaleVim Keymaps

Normal mode keymaps

Description 
Left hand side%
Right hand side<Plug>(MatchitNormalForward)
DescriptionNvim builtin
Left hand side&
Right hand side:&&<CR>
Description 
Left hand sideH
Right hand side:bprevious<CR>
Description 
Left hand sideL
Right hand side:bnext<CR>
DescriptionNvim builtin
Left hand sideY
Right hand sidey$
Description 
Left hand side[%
Right hand side<Plug>(MatchitNormalMultiBackward)
Description 
Left hand side]%
Right hand side<Plug>(MatchitNormalMultiForward)
Description 
Left hand sidegx
Right hand side<Plug>NetrwBrowseX
Description 
Left hand sideg%
Right hand side<Plug>(MatchitNormalBackward)
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)
DescriptionMove to previous reference
Left hand side<M-p>
Right hand side 
DescriptionMove to next reference
Left hand side<M-n>
Right hand side 
Description 
Left hand side<Plug>PlenaryTestFile
Right hand side:lua require('plenary.test_harness').test_directory(vim.fn.expand("%:p"))<CR>
Description 
Left hand side<Plug>luasnip-expand-repeat
Right hand side 
Description 
Left hand side<Plug>luasnip-delete-check
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>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>(cokeline-focus-20)
Right hand side 
Description 
Left hand side<Plug>(cokeline-switch-20)
Right hand side 
Description 
Left hand side<Plug>(cokeline-focus-19)
Right hand side 
Description 
Left hand side<Plug>(cokeline-switch-19)
Right hand side 
Description 
Left hand side<Plug>(cokeline-focus-18)
Right hand side 
Description 
Left hand side<Plug>(cokeline-switch-18)
Right hand side 
Description 
Left hand side<Plug>(cokeline-focus-17)
Right hand side 
Description 
Left hand side<Plug>(cokeline-switch-17)
Right hand side 
Description 
Left hand side<Plug>(cokeline-focus-16)
Right hand side 
Description 
Left hand side<Plug>(cokeline-switch-16)
Right hand side 
Description 
Left hand side<Plug>(cokeline-focus-15)
Right hand side 
Description 
Left hand side<Plug>(cokeline-switch-15)
Right hand side 
Description 
Left hand side<Plug>(cokeline-focus-14)
Right hand side 
Description 
Left hand side<Plug>(cokeline-switch-14)
Right hand side 
Description 
Left hand side<Plug>(cokeline-focus-13)
Right hand side 
Description 
Left hand side<Plug>(cokeline-switch-13)
Right hand side 
Description 
Left hand side<Plug>(cokeline-focus-12)
Right hand side 
Description 
Left hand side<Plug>(cokeline-switch-12)
Right hand side 
Description 
Left hand side<Plug>(cokeline-focus-11)
Right hand side 
Description 
Left hand side<Plug>(cokeline-switch-11)
Right hand side 
Description 
Left hand side<Plug>(cokeline-focus-10)
Right hand side 
Description 
Left hand side<Plug>(cokeline-switch-10)
Right hand side 
Description 
Left hand side<Plug>(cokeline-focus-9)
Right hand side 
Description 
Left hand side<Plug>(cokeline-switch-9)
Right hand side 
Description 
Left hand side<Plug>(cokeline-focus-8)
Right hand side 
Description 
Left hand side<Plug>(cokeline-switch-8)
Right hand side 
Description 
Left hand side<Plug>(cokeline-focus-7)
Right hand side 
Description 
Left hand side<Plug>(cokeline-switch-7)
Right hand side 
Description 
Left hand side<Plug>(cokeline-focus-6)
Right hand side 
Description 
Left hand side<Plug>(cokeline-switch-6)
Right hand side 
Description 
Left hand side<Plug>(cokeline-focus-5)
Right hand side 
Description 
Left hand side<Plug>(cokeline-switch-5)
Right hand side 
Description 
Left hand side<Plug>(cokeline-focus-4)
Right hand side 
Description 
Left hand side<Plug>(cokeline-switch-4)
Right hand side 
Description 
Left hand side<Plug>(cokeline-focus-3)
Right hand side 
Description 
Left hand side<Plug>(cokeline-switch-3)
Right hand side 
Description 
Left hand side<Plug>(cokeline-focus-2)
Right hand side 
Description 
Left hand side<Plug>(cokeline-switch-2)
Right hand side 
Description 
Left hand side<Plug>(cokeline-focus-1)
Right hand side 
Description 
Left hand side<Plug>(cokeline-switch-1)
Right hand side 
Description 
Left hand side<Plug>(cokeline-pick-close)
Right hand side 
Description 
Left hand side<Plug>(cokeline-pick-focus)
Right hand side 
Description 
Left hand side<Plug>(cokeline-focus-next)
Right hand side 
Description 
Left hand side<Plug>(cokeline-focus-prev)
Right hand side 
Description 
Left hand side<Plug>(cokeline-switch-next)
Right hand side 
Description 
Left hand side<Plug>(cokeline-switch-prev)
Right hand side 
Description 
Left hand side<M-i>
Right hand side 
Description 
Left hand side<M-v>
Right hand side 
Description 
Left hand side<M-h>
Right hand side 
Description 
Left hand side<M-k>
Right hand side<Esc>:m .-2<CR>==gi
Description 
Left hand side<M-j>
Right hand side<Esc>:m .+1<CR>==gi
Description 
Left hand side<C-Right>
Right hand side:vertical resize +2<CR>
Description 
Left hand side<C-Left>
Right hand side:vertical resize -2<CR>
Description 
Left hand side<C-Down>
Right hand side:resize +2<CR>
Description 
Left hand side<C-Up>
Right hand side:resize -2<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<C-L>
Right hand side 

Visual mode keymaps

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>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
Description 
Left hand side[%
Right hand side<Plug>(MatchitVisualMultiBackward)
Description 
Left hand side]%
Right hand side<Plug>(MatchitVisualMultiForward)
Description 
Left hand sidea%
Right hand side<Plug>(MatchitVisualTextObject)
Description 
Left hand sidegx
Right hand side<Plug>NetrwBrowseXVis
Description 
Left hand sideg%
Right hand side<Plug>(MatchitVisualBackward)
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)
Description 
Left hand sidep
Right hand side"_dP
Description 
Left hand side<M-i>
Right hand side 
Description 
Left hand side<Plug>luasnip-expand-repeat
Right hand side 
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>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 
Left hand side<M-k>
Right hand side:move '<lt>-2<CR>gv-gv
Description 
Left hand side<M-j>
Right hand side:move '>+1<CR>gv-gv

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 
Left hand sideg%
Right hand side<Plug>(MatchitOperationBackward)
Description 
Left hand side<M-i>
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>