Post

Insis Neovim Configuration Information

An out-of-the-box Neovim IDE solution with simple development environment setup

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

Git repository

https://github.com/nshen/InsisVim

Neovimcraft entry

http://neovimcraft.com/plugin/nshen/InsisVim

Dotfyle entry

https://dotfyle.com/nshen/insisvim

Packer managed plugins

Insis Keymaps

Normal mode keymaps

Description 
Left hand side tc
Right hand side 
Description 
Left hand side tb
Right hand side 
Description 
Left hand side ta
Right hand side 
Description 
Left hand side z
Right hand side<Cmd>ZenMode<CR>
Description 
Left hand side v
Right hand side 
Description 
Left hand side gh
Right hand side 
Description 
Left hand side ns
Right hand side 
Description 
Left hand side nf
Right hand side 
Description 
Left hand side nd
Right hand side 
Description 
Left hand side nr
Right hand side 
Description 
Left hand side nt
Right hand side 
Description 
Left hand side bp
Right hand side:BufferLinePickClose<CR>
Description 
Left hand side bo
Right hand side:BufferLineCloseRight<CR>:BufferLineCloseLeft<CR>
Description 
Left hand side bl
Right hand side:BufferLineCloseRight<CR>
Description 
Left hand side bh
Right hand side:BufferLineCloseLeft<CR>
Description 
Left hand side m
Right hand side<Cmd>NvimTreeToggle<CR>
Description 
Left hand side de
Right hand side 
Description 
Left hand side dh
Right hand side 
Description 
Left hand side dT
Right hand side 
Description 
Left hand side dt
Right hand side 
Description 
Left hand side do
Right hand side 
Description 
Left hand side di
Right hand side 
Description 
Left hand side dj
Right hand side 
Description 
Left hand side dc
Right hand side 
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 q
Right hand side<Cmd>qa!<CR>
Description 
Left hand side w
Right hand side<Cmd>w<CR>
Description 
Left hand side$
Right hand sideg_
Description 
Left hand side%
Right hand side<Plug>(MatchitNormalForward)
DescriptionNvim builtin
Left hand side&
Right hand side:&&<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)
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 sideff
Right hand side<Cmd>Telescope find_files<CR>
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 sideg%
Right hand side<Plug>(MatchitNormalBackward)
Description 
Left hand sideg_
Right hand side$
Description 
Left hand sidej
Right hand sidev:count == 0 ? 'gj' : 'j'
Description 
Left hand sidek
Right hand sidev:count == 0 ? 'gk' : 'k'
Description 
Left hand sidesf
Right hand side:lua require('telescope').extensions.live_grep_args.live_grep_args()<CR>
Description 
Left hand sides=
Right hand side<C-W>=
Description 
Left hand sidesk
Right hand side:horizontal resize +10<CR>
Description 
Left hand sidesj
Right hand side:horizontal resize -10<CR>
Description 
Left hand sides.
Right hand side:vertical resize +10<CR>
Description 
Left hand sides,
Right hand side:vertical resize -10<CR>
Description 
Left hand sideso
Right hand side<C-W>o
Description 
Left hand sidesc
Right hand side<C-W>c
Description 
Left hand sidesh
Right hand side:sp<CR>
Description 
Left hand sidesv
Right hand side:vsp<CR>
Description 
Left hand sides
Right hand side
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 sidezc
Right hand side:foldclose<CR>
Description 
Left hand sidezo
Right hand side:foldopen<CR>
Description 
Left hand side<Plug>PlenaryTestFile
Right hand side:lua require('plenary.test_harness').test_directory(vim.fn.expand("%:p"))<CR>
Description 
Left hand side<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 
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 
Description 
Left hand side<C-W>
Right hand side:Bdelete!<CR>
Description 
Left hand side<C-H>
Right hand side:BufferLineCyclePrev<CR>
Description 
Left hand side<C-F>
Right hand side:<Cmd>Telescope live_grep<CR>
Description 
Left hand side<C-P>
Right hand side<Cmd>Telescope find_files<CR>
Description 
Left hand side<M-m>
Right hand side<Cmd>NvimTreeToggle<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<M-l>
Right hand side<C-W>l
Description 
Left hand side<M-k>
Right hand side<C-W>k
Description 
Left hand side<M-j>
Right hand side<C-W>j
Description 
Left hand side<M-h>
Right hand side<C-W>h
Description 
Left hand side<C-U>
Right hand side10k
Description 
Left hand side<C-D>
Right hand side10j
Description 
Left hand side<C-K>
Right hand side5k
Description 
Left hand side<C-J>
Right hand side5j
Description 
Left hand side<C-L>
Right hand side:BufferLineCycleNext<CR>

Visual mode keymaps

DescriptionNvim builtin
Left hand side#
Right hand sidey?\V<C-R>"<CR>
Description 
Left hand side$
Right hand sideg_
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)
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)
DescriptionAdd a surrounding pair around a visual selection, on new lines
Left hand sidegs
Right hand side<Plug>(nvim-surround-visual-line)
Description 
Left hand sideg%
Right hand side<Plug>(MatchitVisualBackward)
Description 
Left hand sideg_
Right hand side$
Description 
Left hand sidep
Right hand side"_dP
DescriptionAdd a surrounding pair around a visual selection
Left hand sides
Right hand side<Plug>(nvim-surround-visual)
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>
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>
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<C-U>
Right hand side10k
Description 
Left hand side<C-D>
Right hand side10j
Description 
Left hand side<C-K>
Right hand side5k
Description 
Left hand side<C-J>
Right hand side5j

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<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>