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 side | g_ |
| Description | |
|---|
| Left hand side | % |
| Right hand side | <Plug>(MatchitNormalForward) |
| Description | Nvim builtin |
|---|
| Left hand side | & |
| Right hand side | :&&<CR> |
| Description | Nvim builtin |
|---|
| Left hand side | Y |
| Right hand side | y$ |
| Description | |
|---|
| Left hand side | [% |
| Right hand side | <Plug>(MatchitNormalMultiBackward) |
| Description | |
|---|
| Left hand side | ]% |
| Right hand side | <Plug>(MatchitNormalMultiForward) |
| 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 | ff |
| Right hand side | <Cmd>Telescope find_files<CR> |
| 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 | g% |
| Right hand side | <Plug>(MatchitNormalBackward) |
| Description | |
|---|
| Left hand side | g_ |
| Right hand side | $ |
| Description | |
|---|
| Left hand side | j |
| Right hand side | v:count == 0 ? 'gj' : 'j' |
| Description | |
|---|
| Left hand side | k |
| Right hand side | v:count == 0 ? 'gk' : 'k' |
| Description | |
|---|
| Left hand side | sf |
| Right hand side | :lua require('telescope').extensions.live_grep_args.live_grep_args()<CR> |
| Description | |
|---|
| Left hand side | s= |
| Right hand side | <C-W>= |
| Description | |
|---|
| Left hand side | sk |
| Right hand side | :horizontal resize +10<CR> |
| Description | |
|---|
| Left hand side | sj |
| Right hand side | :horizontal resize -10<CR> |
| Description | |
|---|
| Left hand side | s. |
| Right hand side | :vertical resize +10<CR> |
| Description | |
|---|
| Left hand side | s, |
| Right hand side | :vertical resize -10<CR> |
| Description | |
|---|
| Left hand side | so |
| Right hand side | <C-W>o |
| Description | |
|---|
| Left hand side | sc |
| Right hand side | <C-W>c |
| Description | |
|---|
| Left hand side | sh |
| Right hand side | :sp<CR> |
| Description | |
|---|
| Left hand side | sv |
| Right hand side | :vsp<CR> |
| Description | |
|---|
| Left hand side | s |
| Right hand side | |
| 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 | zc |
| Right hand side | :foldclose<CR> |
| Description | |
|---|
| Left hand side | zo |
| 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 | |
| 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 | 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 | <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 side | 10k |
| Description | |
|---|
| Left hand side | <C-D> |
| Right hand side | 10j |
| Description | |
|---|
| Left hand side | <C-K> |
| Right hand side | 5k |
| Description | |
|---|
| Left hand side | <C-J> |
| Right hand side | 5j |
| Description | |
|---|
| Left hand side | <C-L> |
| Right hand side | :BufferLineCycleNext<CR> |
Visual mode keymaps
| Description | Nvim builtin |
|---|
| Left hand side | # |
| Right hand side | y?\V<C-R>"<CR> |
| Description | |
|---|
| Left hand side | $ |
| Right hand side | g_ |
| 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 | >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 | |
|---|
| 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 | 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 | 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% |
| Right hand side | <Plug>(MatchitVisualBackward) |
| Description | |
|---|
| Left hand side | g_ |
| Right hand side | $ |
| Description | |
|---|
| Left hand side | p |
| Right hand side | "_dP |
| Description | Add a surrounding pair around a visual selection |
|---|
| Left hand side | s |
| Right hand side | <Plug>(nvim-surround-visual) |
| Description | |
|---|
| Left hand side | <Plug>luasnip-expand-repeat |
| Right hand side | |
| 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>(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 side | 10k |
| Description | |
|---|
| Left hand side | <C-D> |
| Right hand side | 10j |
| Description | |
|---|
| Left hand side | <C-K> |
| Right hand side | 5k |
| Description | |
|---|
| Left hand side | <C-J> |
| Right hand side | 5j |
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 side | g% |
| 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> |