Uses the mini.nvim library. Personal configuration of the ‘mini.nvim’ author
- Install and initialize:
lazyman -M - Configuration category: Personal
- Base configuration: Custom
- Plugin manager: Mini
- Installation location:
~/.config/nvim-Mini
Git repository
https://github.com/echasnovski/nvim
Neovimcraft entry
http://neovimcraft.com/plugin/echasnovski/nvim
Mini.nvim managed plugins
Mini Keymaps
Normal mode keymaps
| Description | Suite |
|---|
| Left hand side | Ts |
| Right hand side | <Cmd>TestSuite<CR> |
| Description | Suite (quickfix) |
|---|
| Left hand side | TS |
| Right hand side | <Cmd>TestSuite -strategy=make | copen<CR> |
| Description | Nearest |
|---|
| Left hand side | Tn |
| Right hand side | <Cmd>TestNearest<CR> |
| Description | Nearest (quickfix) |
|---|
| Left hand side | TN |
| Right hand side | <Cmd>TestNearest -strategy=make | copen<CR> |
| Description | Last |
|---|
| Left hand side | Tl |
| Right hand side | <Cmd>TestLast<CR> |
| Description | Last (quickfix) |
|---|
| Left hand side | TL |
| Right hand side | <Cmd>TestLast -strategy=make | copen<CR> |
| Description | File |
|---|
| Left hand side | Tf |
| Right hand side | <Cmd>TestFile<CR> |
| Description | File (quickfix) |
|---|
| Left hand side | TF |
| Right hand side | <Cmd>TestFile -strategy=make | copen<CR> |
| Description | Terminal (vertical) |
|---|
| Left hand side | tt |
| Right hand side | <Cmd>vertical Tnew<CR> |
| Description | Terminal (horizontal) |
|---|
| Left hand side | tT |
| Right hand side | <Cmd>belowright Tnew<CR> |
| Description | Test show screenshot |
|---|
| Left hand side | ts |
| Right hand side | <Cmd>lua EC.minitest_screenshots.browse()<CR> |
| Description | Test run location |
|---|
| Left hand side | tl |
| Right hand side | <Cmd>lua MiniTest.run_at_location()<CR> |
| Description | Test run file |
|---|
| Left hand side | tf |
| Right hand side | <Cmd>lua MiniTest.run_file()<CR> |
| Description | Test run all |
|---|
| Left hand side | ta |
| Right hand side | <Cmd>lua MiniTest.run()<CR> |
| Description | Send to terminal |
|---|
| Left hand side | s |
| Right hand side | <Cmd>TREPLSendLine<CR>j |
| Description | Test |
|---|
| Left hand side | rt |
| Right hand side | <Cmd>T devtools::test()<CR> |
| Description | Test file |
|---|
| Left hand side | rT |
| Right hand side | <Cmd>T testthat::test_file("%")<CR> |
| Description | Load all |
|---|
| Left hand side | rl |
| Right hand side | <Cmd>T devtools::load_all()<CR> |
| Description | Knit file |
|---|
| Left hand side | rk |
| Right hand side | <Cmd>T rmarkdown::render("%")<CR> |
| Description | Install |
|---|
| Left hand side | ri |
| Right hand side | <Cmd>T devtools::install(keep_source=TRUE)<CR> |
| Description | Document |
|---|
| Left hand side | rd |
| Right hand side | <Cmd>T devtools::document()<CR> |
| Description | Coverage |
|---|
| Left hand side | rC |
| Right hand side | <Cmd>T devtools::test_coverage()<CR> |
| Description | Check |
|---|
| Left hand side | rc |
| Right hand side | <Cmd>T devtools::check()<CR> |
| Description | Zoom toggle |
|---|
| Left hand side | oz |
| Right hand side | <Cmd>lua MiniMisc.zoom()<CR> |
| Description | Trailspace hl toggle |
|---|
| Left hand side | oT |
| Right hand side | <Cmd>lua vim.b.minitrailspace_disable = not vim.b.minitrailspace_disable<CR> |
| Description | Trim trailspace |
|---|
| Left hand side | ot |
| Right hand side | <Cmd>lua MiniTrailspace.trim()<CR> |
| Description | Section insert |
|---|
| Left hand side | oS |
| Right hand side | <Cmd>lua EC.insert_section()<CR> |
| Description | Session select |
|---|
| Left hand side | os |
| Right hand side | <Cmd>lua MiniSessions.select()<CR> |
| Description | Resize to default width |
|---|
| Left hand side | or |
| Right hand side | <Cmd>lua MiniMisc.resize_window()<CR> |
| Description | Move arg right |
|---|
| Left hand side | ol |
| Right hand side | <Cmd>normal gxiagxina<CR> |
| Description | Generate plugin doc |
|---|
| Left hand side | og |
| Right hand side | <Cmd>lua MiniDoc.generate()<CR> |
| Description | Highlight toggle |
|---|
| Left hand side | oH |
| Right hand side | <Cmd>TSBufToggle highlight<CR> |
| Description | Move arg left |
|---|
| Left hand side | oh |
| Right hand side | <Cmd>normal gxiagxila<CR> |
| Description | Document |
|---|
| Left hand side | od |
| Right hand side | <Cmd>Neogen<CR> |
| Description | Cursor word hl toggle |
|---|
| Left hand side | oC |
| Right hand side | <Cmd>lua MiniCursorword.toggle()<CR> |
| Description | Toggle |
|---|
| Left hand side | mt |
| Right hand side | <Cmd>lua MiniMap.toggle()<CR> |
| Description | Side (toggle) |
|---|
| Left hand side | ms |
| Right hand side | <Cmd>lua MiniMap.toggle_side()<CR> |
| Description | Refresh |
|---|
| Left hand side | mr |
| Right hand side | <Cmd>lua MiniMap.refresh()<CR> |
| Description | Open |
|---|
| Left hand side | mo |
| Right hand side | <Cmd>lua MiniMap.open()<CR> |
| Description | Focus (toggle) |
|---|
| Left hand side | mf |
| Right hand side | <Cmd>lua MiniMap.toggle_focus()<CR> |
| Description | Close |
|---|
| Left hand side | mc |
| Right hand side | <Cmd>lua MiniMap.close()<CR> |
| Description | Execute lua line |
|---|
| Left hand side | Lx |
| Right hand side | <Cmd>lua EC.execute_lua_line()<CR> |
| Description | luafile buffer |
|---|
| Left hand side | Lf |
| Right hand side | <Cmd>luafile %<CR> |
| Description | Source definition |
|---|
| Left hand side | ls |
| Right hand side | <Cmd>lua vim.lsp.buf.definition()<CR> |
| Description | Rename |
|---|
| Left hand side | lr |
| Right hand side | <Cmd>lua vim.lsp.buf.rename()<CR> |
| Description | References |
|---|
| Left hand side | lR |
| Right hand side | <Cmd>lua vim.lsp.buf.references()<CR> |
| Description | Prev diagnostic |
|---|
| Left hand side | lk |
| Right hand side | <Cmd>lua vim.diagnostic.goto_prev()<CR> |
| Description | Next diagnostic |
|---|
| Left hand side | lj |
| Right hand side | <Cmd>lua vim.diagnostic.goto_next()<CR> |
| Description | Information |
|---|
| Left hand side | li |
| Right hand side | <Cmd>lua vim.lsp.buf.hover()<CR> |
| Description | Format |
|---|
| Left hand side | lf |
| Right hand side | <Cmd>lua vim.lsp.buf.format({ async = true })<CR> |
| Description | Diagnostics popup |
|---|
| Left hand side | ld |
| Right hand side | <Cmd>lua vim.diagnostic.open_float()<CR> |
| Description | Arguments popup |
|---|
| Left hand side | la |
| Right hand side | <Cmd>lua vim.lsp.buf.signature_help()<CR> |
| Description | Discard (reset) buffer |
|---|
| Left hand side | gX |
| Right hand side | <Cmd>lua require("gitsigns").reset_buffer()<CR> |
| Description | Discard (reset) hunk |
|---|
| Left hand side | gx |
| Right hand side | <Cmd>lua require("gitsigns").reset_hunk()<CR> |
| Description | Undo stage hunk |
|---|
| Left hand side | gu |
| Right hand side | <Cmd>lua require("gitsigns").undo_stage_hunk()<CR> |
| Description | Quickfix hunks |
|---|
| Left hand side | gq |
| Right hand side | <Cmd>lua require("gitsigns").setqflist()<CR>:copen<CR> |
| Description | Preview hunk |
|---|
| Left hand side | gp |
| Right hand side | <Cmd>lua require("gitsigns").preview_hunk()<CR> |
| Description | Git tab |
|---|
| Left hand side | gg |
| Right hand side | <Cmd>lua EC.open_lazygit()<CR> |
| Description | Blame line |
|---|
| Left hand side | gb |
| Right hand side | <Cmd>lua require("gitsigns").blame_line()<CR> |
| Description | Add (stage) hunk |
|---|
| Left hand side | ga |
| Right hand side | <Cmd>lua require("gitsigns").stage_hunk()<CR> |
| Description | Add buffer |
|---|
| Left hand side | gA |
| Right hand side | <Cmd>lua require("gitsigns").stage_buffer()<CR> |
| Description | File browser |
|---|
| Left hand side | ft |
| Right hand side | <Cmd>Telescope file_browser<CR> |
| Description | Symbols (treesitter) |
|---|
| Left hand side | fS |
| Right hand side | <Cmd>Telescope treesitter<CR> |
| Description | Spell suggestions |
|---|
| Left hand side | fs |
| Right hand side | <Cmd>Telescope spell_suggest<CR> |
| Description | References (LSP) |
|---|
| Left hand side | fR |
| Right hand side | <Cmd>Telescope lsp_references<CR> |
| Description | Resume |
|---|
| Left hand side | fr |
| Right hand side | <Cmd>lua MiniPick.builtin.resume()<CR> |
| Description | Options |
|---|
| Left hand side | fO |
| Right hand side | <Cmd>Telescope vim_options<CR> |
| Description | Old files |
|---|
| Left hand side | fo |
| Right hand side | <Cmd>Telescope oldfiles<CR> |
| Description | Jumplist |
|---|
| Left hand side | fj |
| Right hand side | <Cmd>Telescope jumplist<CR> |
| Description | Highlight groups |
|---|
| Left hand side | fH |
| Right hand side | <Cmd>Telescope highlights<CR> |
| Description | Help tags |
|---|
| Left hand side | fh |
| Right hand side | <Cmd>lua MiniPick.builtin.help()<CR> |
| Description | Grep live |
|---|
| Left hand side | fg |
| Right hand side | <Cmd>lua MiniPick.builtin.grep_live()<CR> |
| Description | Files |
|---|
| Left hand side | ff |
| Right hand side | <Cmd>lua MiniPick.builtin.files()<CR> |
| Description | Diagnostic buffer |
|---|
| Left hand side | fD |
| Right hand side | <Cmd>Telescope diagnostics bufnr=0<CR> |
| Description | Diagnostic workspace |
|---|
| Left hand side | fd |
| Right hand side | <Cmd>Telescope diagnostics<CR> |
| Description | Buffer commits |
|---|
| Left hand side | fC |
| Right hand side | <Cmd>Telescope git_bcommits<CR> |
| Description | Commits |
|---|
| Left hand side | fc |
| Right hand side | <Cmd>Telescope git_commits<CR> |
| Description | Open buffers |
|---|
| Left hand side | fB |
| Right hand side | <Cmd>Telescope current_buffer_fuzzy_find<CR> |
| Description | Open buffers |
|---|
| Left hand side | fb |
| Right hand side | <Cmd>lua MiniPick.builtin.buffers()<CR> |
| Description | Commands |
|---|
| Left hand side | f: |
| Right hand side | <Cmd>Telescope command_history<CR> |
| Description | ”/” history |
|---|
| Left hand side | f/ |
| Right hand side | <Cmd>Telescope search_history<CR> |
| Description | Quickfix |
|---|
| Left hand side | eq |
| Right hand side | <Cmd>lua EC.toggle_quickfix()<CR> |
| Description | Mini.nvim directory |
|---|
| Left hand side | em |
| Right hand side | <Cmd>lua MiniFiles.open('~/.config/nvim-Mini/pack/plugins/opt/mini')<CR> |
| Description | File directory |
|---|
| Left hand side | ef |
| Right hand side | <Cmd>lua MiniFiles.open(vim.api.nvim_buf_get_name(0))<CR> |
| Description | Directory |
|---|
| Left hand side | ed |
| Right hand side | <Cmd>lua MiniFiles.open()<CR> |
| Description | Wipeout! |
|---|
| Left hand side | bW |
| Right hand side | <Cmd>lua MiniBufremove.wipeout(0, true)<CR> |
| Description | Wipeout |
|---|
| Left hand side | bw |
| Right hand side | <Cmd>lua MiniBufremove.wipeout()<CR> |
| Description | Scratch |
|---|
| Left hand side | bs |
| Right hand side | <Cmd>lua EC.new_scratch_buffer()<CR> |
| Description | Delete! |
|---|
| Left hand side | bD |
| Right hand side | <Cmd>lua MiniBufremove.delete(0, true)<CR> |
| Description | Delete |
|---|
| Left hand side | bd |
| Right hand side | <Cmd>lua MiniBufremove.delete()<CR> |
| Description | Alternate |
|---|
| Left hand side | ba |
| Right hand side | <Cmd>b#<CR> |
| 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 | Paste Above |
|---|
| Left hand side | [p |
| Right hand side | <Cmd>exe "put! " . v:register<CR> |
| Description | Toggle hlsearch |
|---|
| Left hand side | \h |
| Right hand side | |
| Description | |
|---|
| Left hand side | ]% |
| Right hand side | <Plug>(MatchitNormalMultiForward) |
| Description | Paste Below |
|---|
| Left hand side | ]p |
| Right hand side | <Cmd>exe "put " . v:register<CR> |
| Description | |
|---|
| Left hand side | gx |
| Right hand side | <Plug>NetrwBrowseX |
| Description | |
|---|
| Left hand side | g% |
| Right hand side | <Plug>(MatchitNormalBackward) |
| Description | |
|---|
| Left hand side | s |
| 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 | Nvim builtin |
|---|
| Left hand side | <C-L> |
| Right hand side | <Cmd>nohlsearch|diffupdate|normal! <C-L><CR> |
Visual mode keymaps
| Description | Send to terminal |
|---|
| Left hand side | s |
| Right hand side | mode() ==# "v" ? ":TREPLSendSelection<CR>`>l" : ":TREPLSendSelection<CR>'>j" |
| Description | Reprex selection |
|---|
| Left hand side | rx |
| Right hand side | "+y :T reprex::reprex()<CR> |
| Description | Format selection |
|---|
| Left hand side | lf |
| Right hand side | <Cmd>lua vim.lsp.buf.format()<CR><Esc> |
| 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 | <Plug>(MatchitVisualMultiBackward) |
| Description | Paste Above |
|---|
| Left hand side | [p |
| Right hand side | <Cmd>exe "put! " . v:register<CR> |
| Description | |
|---|
| Left hand side | ]% |
| Right hand side | <Plug>(MatchitVisualMultiForward) |
| Description | Paste Below |
|---|
| Left hand side | ]p |
| Right hand side | <Cmd>exe "put " . v:register<CR> |
| Description | |
|---|
| Left hand side | a% |
| Right hand side | <Plug>(MatchitVisualTextObject) |
| Description | |
|---|
| Left hand side | gx |
| Right hand side | <Plug>NetrwBrowseXVis |
| Description | |
|---|
| Left hand side | g% |
| Right hand side | <Plug>(MatchitVisualBackward) |
| Description | |
|---|
| Left hand side | s |
| Right hand side | |
| 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`` |
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>(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> |