# nvim keybindings ```txt x *@~/.local/share/nvim/lazy/mini.clue/lua/mini/clue.lua Query keys after "" n *@~/.local/share/nvim/lazy/mini.clue/lua/mini/clue.lua Query keys after "" x " *@~/.local/share/nvim/lazy/mini.clue/lua/mini/clue.lua Query keys after """ n " *@~/.local/share/nvim/lazy/mini.clue/lua/mini/clue.lua Query keys after """ x ' *@~/.local/share/nvim/lazy/mini.clue/lua/mini/clue.lua Query keys after "'" n ' *@~/.local/share/nvim/lazy/mini.clue/lua/mini/clue.lua Query keys after "'" x ` *@~/.local/share/nvim/lazy/mini.clue/lua/mini/clue.lua Query keys after "`" n ` *@~/.local/share/nvim/lazy/mini.clue/lua/mini/clue.lua Query keys after "`" x g *@~/.local/share/nvim/lazy/mini.clue/lua/mini/clue.lua Query keys after "g" n g *@~/.local/share/nvim/lazy/mini.clue/lua/mini/clue.lua Query keys after "g" x z *@~/.local/share/nvim/lazy/mini.clue/lua/mini/clue.lua Query keys after "z" n z *@~/.local/share/nvim/lazy/mini.clue/lua/mini/clue.lua Query keys after "z" n *@~/.local/share/nvim/lazy/mini.clue/lua/mini/clue.lua Query keys after "" n * :nohlsearch Clear Search Highlighting n qQ * :q! Force quit without saving n qw * :wq Write and quit n qq * :wq! Quit with force saving n qf * :q Quicker close split n tn * :Noice dismiss Noice: Dismiss Notification n tl * :lua vim.o.bg = vim.o.bg:get() == "light" and "dark" or "light" Toggle Light/Dark Mode n te * :Neotree toggle Toggle Neotree n tc * :CloakToggle Cloak: Toggle n o * ~/.config/nvim/lua/keymaps.lua Open repo in browser n xx * :Trouble diagnostics Trouble: Diagnostic n xw * :Trouble workspace_diagnostics Trouble: Workspace Diagnostics n xq * :Trouble quickfix Trouble: Quickfix n xl * :Trouble loclist Trouble: Location List n xd * :Trouble document_diagnostics Trouble: Document Diagnostics n sx * :Telescope import Telescope: Import n sw * :Telescope grep_string Grep String n st * :TodoTelescope Search Todos n ss * :Telescope treesitter Treesitter n sq * :Telescope quickfix Quickfix n sp * :lua require("telescope").extensions.lazy_plugins.lazy_plugins() Lazy Plugins n so * :Telescope oldfiles Old Files n sl * :Telescope luasnip Search LuaSnip n sk * :Telescope keymaps Search Keymaps n sh * :Telescope highlights List Highlights n sg * :Telescope live_grep Search by Grep n sd * :Telescope diagnostics Search Diagnostics n sc * :Telescope commands Commands n / * ~/.config/nvim/lua/keymaps.lua Fuzzily search in current buffer n , * :Telescope buffers Find existing buffers n f * :Telescope find_files Find Files n cbt * CBllline CB: Titled Line n cbm * CBllbox14 CB: Marked n cbl * CBline CB: Simple Line n cbd * CBd CB: Remove a box n cbb * CBccbox CB: Box Title n cw * :Lspsaga diagnostic_jump_next Diagnostic Jump Next n cv * :Lspsaga diagnostic_jump_prev Diagnostic Jump Prev n cu * :Lspsaga preview_definition Preview Definition n cT * :Telescope lsp_type_definitions LSP Type Definitions n ct * :Lspsaga peek_type_definition Peek Type Definition n cs * :Telescope lsp_document_symbols LSP Document Symbols n cR * :Lspsaga rename ++project Rename Project wide n cr * :Lspsaga rename Rename n cp * :Lspsaga peek_definition Peek Definition n cl * :Lspsaga show_cursor_diagnostics Cursor Diagnostics n ci * :Lspsaga implement Implementations x cf * :lua vim.lsp.buf.format() Format n cf * :lua vim.lsp.buf.format() Format n cd * :Lspsaga show_line_diagnostics Line Diagnostics n cco * :Lspsaga outgoing_calls Outgoing Calls n cci * :Lspsaga incoming_calls Incoming Calls n ca * :Lspsaga code_action Code Action n cg * :lua require("neogen").generate() Generate annotations n bw * :lua MiniBufremove.wipeout() Wipeout n bl * :bnext Next n bk * :blast Last n bj * :bfirst First n bh * :bprev Prev n bd * :lua MiniBufremove.delete() Delete x # * vim/_defaults.lua :help v_#-default o % (MatchitOperationForward) x % (MatchitVisualForward) n % (MatchitNormalForward) n & * :&& :help &-default x * * vim/_defaults.lua :help v_star-default o ; * ~/.local/share/nvim/lazy/mini.jump/lua/mini/jump.lua Repeat jump x ; * lua MiniJump.jump() Repeat jump n ; * lua MiniJump.jump() Repeat jump v < * * >gv Indent Right n > * >gv Indent Right n @ * ~/.local/share/nvim/lazy/mini.clue/lua/mini/clue.lua Execute macro without 'mini.clue' triggers x @ * mode() == 'V' ? ':normal! @'.getcharstr().'' : '@' :help v_@-default o F * ~/.local/share/nvim/lazy/mini.jump/lua/mini/jump.lua Jump backward x F * lua MiniJump.smart_jump(true, false) Jump backward n F * lua MiniJump.smart_jump(true, false) Jump backward n K * :Lspsaga hover_doc Hover Documentation n Q * ~/.local/share/nvim/lazy/mini.clue/lua/mini/clue.lua Execute macro without 'mini.clue' triggers x Q * mode() == 'V' ? ':normal! @=reg_recorded()' : 'Q' :help v_Q-default o T * ~/.local/share/nvim/lazy/mini.jump/lua/mini/jump.lua Jump backward till x T * lua MiniJump.smart_jump(true, true) Jump backward till n T * lua MiniJump.smart_jump(true, true) Jump backward till n Y * y$ :help Y-default n Zk * ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua Flash Treesitter x Zk * ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua Flash Treesitter o Zk * ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua Flash Treesitter o [% (MatchitOperationMultiBackward) x [% (MatchitVisualMultiBackward) n [% (MatchitNormalMultiBackward) o [i * lua MiniIndentscope.operator('top') Go to indent scope top x [i * lua MiniIndentscope.operator('top') Go to indent scope top n [i * lua MiniIndentscope.operator('top', true) Go to indent scope top o [h * Vlua MiniDiff.goto_hunk('prev') Previous hunk x [h * lua MiniDiff.goto_hunk('prev') Previous hunk n [h * lua MiniDiff.goto_hunk('prev') Previous hunk o [H * Vlua MiniDiff.goto_hunk('first') First hunk x [H * lua MiniDiff.goto_hunk('first') First hunk n [H * lua MiniDiff.goto_hunk('first') First hunk n [d * vim/_defaults.lua Jump to the previous diagnostic o ]% (MatchitOperationMultiForward) x ]% (MatchitVisualMultiForward) n ]% (MatchitNormalMultiForward) o ]i * lua MiniIndentscope.operator('bottom') Go to indent scope bottom x ]i * lua MiniIndentscope.operator('bottom') Go to indent scope bottom n ]i * lua MiniIndentscope.operator('bottom', true) Go to indent scope bottom o ]H * Vlua MiniDiff.goto_hunk('last') Last hunk x ]H * lua MiniDiff.goto_hunk('last') Last hunk n ]H * lua MiniDiff.goto_hunk('last') Last hunk o ]h * Vlua MiniDiff.goto_hunk('next') Next hunk x ]h * lua MiniDiff.goto_hunk('next') Next hunk n ]h * lua MiniDiff.goto_hunk('next') Next hunk n ]d * vim/_defaults.lua Jump to the next diagnostic x a% (MatchitVisualTextObject) o ai * lua MiniIndentscope.textobject(true) Object scope with border x ai * lua MiniIndentscope.textobject(true) Object scope with border o f * ~/.local/share/nvim/lazy/mini.jump/lua/mini/jump.lua Jump forward x f * lua MiniJump.smart_jump(false, false) Jump forward n f * lua MiniJump.smart_jump(false, false) Jump forward n gR * :RegexplainerToggle Toggle Regexplainer o g% (MatchitOperationBackward) x g% (MatchitVisualBackward) n g% (MatchitNormalBackward) o gh * lua MiniDiff.textobject() Hunk range textobject x gH * ~/.local/share/nvim/lazy/mini.diff/lua/mini/diff.lua Reset hunks n gH * ~/.local/share/nvim/lazy/mini.diff/lua/mini/diff.lua Reset hunks x gh * ~/.local/share/nvim/lazy/mini.diff/lua/mini/diff.lua Apply hunks n gh * ~/.local/share/nvim/lazy/mini.diff/lua/mini/diff.lua Apply hunks x gs * lua MiniOperators.sort('visual') Sort selection n gss ^gsg_ Sort line n gs * v:lua.MiniOperators.sort() Sort operator x gr * lua MiniOperators.replace('visual') Replace selection n grr gr_ Replace line n gr * v:lua.MiniOperators.replace() Replace operator x gm * lua MiniOperators.multiply('visual') Multiply selection n gmm gm_ Multiply line n gm * v:lua.MiniOperators.multiply() Multiply operator n gxx gx_ Exchange line x g= * lua MiniOperators.evaluate('visual') Evaluate selection n g== g=_ Evaluate line n g= * v:lua.MiniOperators.evaluate() Evaluate operator x gS * :lua MiniSplitjoin.toggle({ region = MiniSplitjoin.get_visual_region() }) Toggle arguments n gS * v:lua.MiniSplitjoin.operator("toggle") . " " Toggle arguments o gc * lua MiniComment.textobject() Comment textobject n gcc * ~/.local/share/nvim/lazy/mini.comment/lua/mini/comment.lua Comment line x gc * ~/.local/share/nvim/lazy/mini.comment/lua/mini/comment.lua Comment selection n gc * ~/.local/share/nvim/lazy/mini.comment/lua/mini/comment.lua Comment x gx * lua MiniOperators.exchange('visual') Exchange selection n gx * v:lua.MiniOperators.exchange() Exchange operator o ii * lua MiniIndentscope.textobject(false) Object scope x ii * lua MiniIndentscope.textobject(false) Object scope n j * v:count == 0 ? 'gj' : 'j' Move down n k * v:count == 0 ? 'gk' : 'k' Move up n shn * ~/.local/share/nvim/lazy/mini.surround/lua/mini/surround.lua Highlight next surrounding n sFn * ~/.local/share/nvim/lazy/mini.surround/lua/mini/surround.lua Find next left surrounding n sfn * ~/.local/share/nvim/lazy/mini.surround/lua/mini/surround.lua Find next right surrounding n srn * ~/.local/share/nvim/lazy/mini.surround/lua/mini/surround.lua Replace next surrounding n sdn * ~/.local/share/nvim/lazy/mini.surround/lua/mini/surround.lua Delete next surrounding n shl * ~/.local/share/nvim/lazy/mini.surround/lua/mini/surround.lua Highlight previous surrounding n sFl * ~/.local/share/nvim/lazy/mini.surround/lua/mini/surround.lua Find previous left surrounding n sfl * ~/.local/share/nvim/lazy/mini.surround/lua/mini/surround.lua Find previous right surrounding n srl * ~/.local/share/nvim/lazy/mini.surround/lua/mini/surround.lua Replace previous surrounding n sdl * ~/.local/share/nvim/lazy/mini.surround/lua/mini/surround.lua Delete previous surrounding x sa * :lua MiniSurround.add('visual') Add surrounding to selection n sn * ~/.local/share/nvim/lazy/mini.surround/lua/mini/surround.lua Update `MiniSurround.config.n_lines` n sh * ~/.local/share/nvim/lazy/mini.surround/lua/mini/surround.lua Highlight surrounding n sF * ~/.local/share/nvim/lazy/mini.surround/lua/mini/surround.lua Find left surrounding n sf * ~/.local/share/nvim/lazy/mini.surround/lua/mini/surround.lua Find right surrounding n sr * ~/.local/share/nvim/lazy/mini.surround/lua/mini/surround.lua Replace surrounding n sd * ~/.local/share/nvim/lazy/mini.surround/lua/mini/surround.lua Delete surrounding n sa * ~/.local/share/nvim/lazy/mini.surround/lua/mini/surround.lua Add surrounding o t * ~/.local/share/nvim/lazy/mini.jump/lua/mini/jump.lua Jump forward till x t * lua MiniJump.smart_jump(false, true) Jump forward till n t * lua MiniJump.smart_jump(false, true) Jump forward till x zk * ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua Flash n zk * ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua Flash o zk * ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua Flash n = * = Equal Size Splits n + * :resize +5 H Resize + n - * :resize -5 H Resize - n . * :vertical resize +10 V Resize + n , * :vertical resize -10 V Resize - v * :m '>+1gv=gv Move Block Down n * :m '>+1gv=gv Move Block Down v * :m '<-2gv=gv Move Block Up n * :m '<-2gv=gv Move Block Up n * :w! Save n * :echo "Use j to move!!" n * :echo "Use k to move!!" n * :echo "Use l to move!!" n * :echo "Use h to move!!" x (MatchitVisualTextObject) (MatchitVisualMultiBackward)o(MatchitVisualMultiForward) o (MatchitOperationMultiForward) * :call matchit#MultiMatch("W", "o") o (MatchitOperationMultiBackward) * :call matchit#MultiMatch("bW", "o") x (MatchitVisualMultiForward) * :call matchit#MultiMatch("W", "n")m'gv`` x (MatchitVisualMultiBackward) * :call matchit#MultiMatch("bW", "n")m'gv`` n (MatchitNormalMultiForward) * :call matchit#MultiMatch("W", "n") n (MatchitNormalMultiBackward) * :call matchit#MultiMatch("bW", "n") o (MatchitOperationBackward) * :call matchit#Match_wrapper('',0,'o') o (MatchitOperationForward) * :call matchit#Match_wrapper('',1,'o') x (MatchitVisualBackward) * :call matchit#Match_wrapper('',0,'v')m'gv`` x (MatchitVisualForward) * :call matchit#Match_wrapper('',1,'v'):if col("''") != col("$") | exe ":normal! m'" | endifgv`` n (MatchitNormalBackward) * :call matchit#Match_wrapper('',0,'n') n (MatchitNormalForward) * :call matchit#Match_wrapper('',1,'n') n * lua MiniMove.move_line('up') Move line up n * lua MiniMove.move_line('down') Move line down n * lua MiniMove.move_line('right') Move line right n * lua MiniMove.move_line('left') Move line left x * lua MiniMove.move_selection('up') Move up x * lua MiniMove.move_selection('down') Move down x * lua MiniMove.move_selection('right') Move right x * lua MiniMove.move_selection('left') Move left n PlenaryTestFile * :lua require('plenary.test_harness').test_file(vim.fn.expand("%:p")) n d Show diagnostics under the cursor n d * vim/_defaults.lua Show diagnostics under the cursor n * :lua vim.lsp.buf.signature_help() Signature ``` - Generated on Mon 9 Dec 2024 10:05:25 EET