# nvim keybindings ```txt x *@~/.local/share/nvim/lazy/mini.nvim/lua/mini/clue.lua Query keys after "" n *@~/.local/share/nvim/lazy/mini.nvim/lua/mini/clue.lua Query keys after "" x " *@~/.local/share/nvim/lazy/mini.nvim/lua/mini/clue.lua Query keys after """ n " *@~/.local/share/nvim/lazy/mini.nvim/lua/mini/clue.lua Query keys after """ x ' *@~/.local/share/nvim/lazy/mini.nvim/lua/mini/clue.lua Query keys after "'" n ' *@~/.local/share/nvim/lazy/mini.nvim/lua/mini/clue.lua Query keys after "'" x ` *@~/.local/share/nvim/lazy/mini.nvim/lua/mini/clue.lua Query keys after "`" n ` *@~/.local/share/nvim/lazy/mini.nvim/lua/mini/clue.lua Query keys after "`" x g *@~/.local/share/nvim/lazy/mini.nvim/lua/mini/clue.lua Query keys after "g" n g *@~/.local/share/nvim/lazy/mini.nvim/lua/mini/clue.lua Query keys after "g" x z *@~/.local/share/nvim/lazy/mini.nvim/lua/mini/clue.lua Query keys after "z" n z *@~/.local/share/nvim/lazy/mini.nvim/lua/mini/clue.lua Query keys after "z" n *@~/.local/share/nvim/lazy/mini.nvim/lua/mini/clue.lua Query keys after "" n * :nohlsearch Clear Search Highlighting n qQ * ~/.config/nvim/lua/keymaps.lua Force quit without saving n qw * :wq Write and quit n qq * ~/.config/nvim/lua/keymaps.lua Quit with force saving n qf * :q Quicker close split n tn * :Noice dismiss Noice: Dismiss Notification n tl * ~/.config/nvim/lua/utils.lua Toggle Light/Dark Mode n te * :Neotree toggle Toggle Neotree n tc * :CloakToggle Cloak: Toggle n xx * :Trouble diagnostics Diagnostic n xw * :Trouble workspace_diagnostics Workspace Diagnostics n xq * :Trouble quickfix Quickfix n xl * :Trouble loclist Location List n xd * :Trouble diagnostics Document Diagnostics n sx * :Telescope import Telescope: Import n sw * :Telescope grep_string Grep String n ss * :Telescope treesitter Treesitter n sq * :Telescope quickfix Quickfix n sp * ~/.config/nvim/lua/keymaps.lua Lazy Plugins n so * :Telescope oldfiles Old Files n sl * :Telescope luasnip Search LuaSnip n sk * :Telescope keymaps Search Keymaps n sh * :Telescope help_tags Help tags 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 fd --hidden=true 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 cwd * ~/.config/nvim/lua/keymaps.lua Dynamic Workspace Symbols n cws * ~/.config/nvim/lua/keymaps.lua Workspace Symbols n ct * ~/.config/nvim/lua/keymaps.lua treesitter n cs * :Telescope lsp_document_symbols LSP Document Symbols n cr * ~/.local/share/bob/v0.10.2/nvim-macos-arm64/share/nvim/runtime/lua/vim/lsp/buf.lua Rename n cp * ~/.config/nvim/lua/keymaps.lua Type Definition n ci * ~/.config/nvim/lua/keymaps.lua Implementations n cg * :lua require("neogen").generate() Generate annotations x cf * :lua vim.lsp.buf.format() Format n cf * :lua vim.lsp.buf.format() Format n cd * ~/.config/nvim/lua/keymaps.lua Definitions n cco * ~/.config/nvim/lua/keymaps.lua Outgoing calls n cci * ~/.config/nvim/lua/keymaps.lua Incoming calls n ca * :lua vim.lsp.buf.code_action() Code Action 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 n ba * :%bd|e#|bd# Close all except current n apt * :PhpactorTransform PHPactor: Transform n aps * :PhpactorClassSearch PHPactor: Class Search n apn * :PhpactorClassNew PHPactor: Class New n apm * :PhpactorContextMenu PHPactor: Context Menu n av * :silent TestVisit Test Visit n al * :silent TestLast Test Last n as * :silent TestSuite Test Suite n af * :silent TestFile Test File n an * :silent TestNearest Test Nearest n o * ~/.config/nvim/lua/keymaps.lua Open repo in browser n tmw * setlocal wrap! wrap? Toggle 'wrap' n tms * setlocal spell! spell? Toggle 'spell' n tmr * setlocal relativenumber! relativenumber? Toggle 'relativenumber' n tmn * setlocal number! number? Toggle 'number' n tml * setlocal list! list? Toggle 'list' n tmi * setlocal ignorecase! ignorecase? Toggle 'ignorecase' n tmh * let v:hlsearch = 1 - v:hlsearch | echo (v:hlsearch ? " " : "no") . "hlsearch" Toggle search highlight n tmd * lua print(MiniBasics.toggle_diagnostic()) Toggle diagnostic n tmC * setlocal cursorcolumn! cursorcolumn? Toggle 'cursorcolumn' n tmc * setlocal cursorline! cursorline? Toggle 'cursorline' n tmb * lua vim.o.bg = vim.o.bg == "dark" and "light" or "dark"; print(vim.o.bg) Toggle 'background' x # * vim/_defaults.lua :help v_#-default o % (MatchitOperationForward) x % (MatchitVisualForward) n % (MatchitNormalForward) n & * :&& :help &-default n '? & :echo ":Start" dispatch#start_focus(v:count > 1 ? 0 : v:count ? line(".") : -1) n '! & 28_:.Start! n ' & 28_:.Start n ' & 28_:.Start x * * vim/_defaults.lua :help v_star-default v < * * >gv Indent Right n > * >gv Indent Right n @ * ~/.local/share/nvim/lazy/mini.nvim/lua/mini/clue.lua Execute macro without 'mini.clue' triggers x @ * mode() ==# 'V' ? ':normal! @'.getcharstr().'' : '@' :help v_@-default n K * :lua vim.lsp.buf.hover() Hover Documentation n Q * ~/.local/share/nvim/lazy/mini.nvim/lua/mini/clue.lua Execute macro without 'mini.clue' triggers x Q * mode() ==# 'V' ? ':normal! @=reg_recorded()' : 'Q' :help v_Q-default n Y * y$ :help Y-default o Zk * ~/.config/nvim/lua/keymaps.lua Flash Treesitter x Zk * ~/.config/nvim/lua/keymaps.lua Flash Treesitter n Zk * ~/.config/nvim/lua/keymaps.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 n `? & 28_:.FocusDispatch n `! & 28_:.Dispatch! n ` & 28_:.Dispatch n ` & 28_:.Dispatch x a% (MatchitVisualTextObject) o ax (textobj-xmlattr-attr-a) x ax (textobj-xmlattr-attr-a) o ai * lua MiniIndentscope.textobject(true) Object scope with border x ai * lua MiniIndentscope.textobject(true) Object scope with border n gR * :RegexplainerToggle Toggle Regexplainer o g% (MatchitOperationBackward) x g% (MatchitVisualBackward) n g% (MatchitNormalBackward) n g`? & :echo ":Spawn" dispatch#spawn_focus(v:count > 1 ? 0 : v:count ? line(".") : -1) n g`! & 28_:.Spawn! n g` & 28_:.Spawn n g` & 28_:.Spawn n g'? & :echo ":Spawn" dispatch#spawn_focus(v:count > 1 ? 0 : v:count ? line(".") : -1) n g'! & 28_:.Spawn! n g' & 28_:.Spawn n g' & 28_:.Spawn x gS * :lua MiniSplitjoin.toggle({ region = MiniSplitjoin.get_visual_region() }) Toggle arguments n gS * v:lua.MiniSplitjoin.operator("toggle") . " " Toggle arguments 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 o gh * lua MiniDiff.textobject() Hunk range textobject x gH * ~/.local/share/nvim/lazy/mini.nvim/lua/mini/diff.lua Reset hunks n gH * ~/.local/share/nvim/lazy/mini.nvim/lua/mini/diff.lua Reset hunks x gh * ~/.local/share/nvim/lazy/mini.nvim/lua/mini/diff.lua Apply hunks n gh * ~/.local/share/nvim/lazy/mini.nvim/lua/mini/diff.lua Apply hunks x g/ * /\%V Search inside visual selection n gV * "`[" . strpart(getregtype(), 0, 1) . "`]" Visually select changed text x gp * "+P Paste from system clipboard n gp * "+p Paste from system clipboard x gy * "+y Copy to system clipboard n gy * "+y Copy to system clipboard n go * v:lua.MiniBasics.put_empty_line(v:false) Put empty line below n gO * v:lua.MiniBasics.put_empty_line(v:true) Put empty line above o gc * lua MiniComment.textobject() Comment textobject n gcc * ~/.local/share/nvim/lazy/mini.nvim/lua/mini/comment.lua Comment line x gc * ~/.local/share/nvim/lazy/mini.nvim/lua/mini/comment.lua Comment selection n gc * ~/.local/share/nvim/lazy/mini.nvim/lua/mini/comment.lua Comment x gx * lua MiniOperators.exchange('visual') Exchange selection n gx * v:lua.MiniOperators.exchange() Exchange operator o ix (textobj-xmlattr-attr-i) x ix (textobj-xmlattr-attr-i) o ii * lua MiniIndentscope.textobject(false) Object scope x ii * lua MiniIndentscope.textobject(false) Object scope x j * v:count == 0 ? 'gj' : 'j' n j * v:count == 0 ? 'gj' : 'j' Move down x k * v:count == 0 ? 'gk' : 'k' n k * v:count == 0 ? 'gk' : 'k' Move up n m? & :echo ":Dispatch" dispatch#make_focus(v:count > 1 ? 0 : v:count ? line(".") : -1) n m! & 28_:.Make! n m & 28_:.Make n m & 28_:.Make n shn * ~/.local/share/nvim/lazy/mini.nvim/lua/mini/surround.lua Highlight next surrounding n sFn * ~/.local/share/nvim/lazy/mini.nvim/lua/mini/surround.lua Find next left surrounding n sfn * ~/.local/share/nvim/lazy/mini.nvim/lua/mini/surround.lua Find next right surrounding n srn * ~/.local/share/nvim/lazy/mini.nvim/lua/mini/surround.lua Replace next surrounding n sdn * ~/.local/share/nvim/lazy/mini.nvim/lua/mini/surround.lua Delete next surrounding n shl * ~/.local/share/nvim/lazy/mini.nvim/lua/mini/surround.lua Highlight previous surrounding n sFl * ~/.local/share/nvim/lazy/mini.nvim/lua/mini/surround.lua Find previous left surrounding n sfl * ~/.local/share/nvim/lazy/mini.nvim/lua/mini/surround.lua Find previous right surrounding n srl * ~/.local/share/nvim/lazy/mini.nvim/lua/mini/surround.lua Replace previous surrounding n sdl * ~/.local/share/nvim/lazy/mini.nvim/lua/mini/surround.lua Delete previous surrounding x sa * :lua MiniSurround.add('visual') Add surrounding to selection n sn * ~/.local/share/nvim/lazy/mini.nvim/lua/mini/surround.lua Update `MiniSurround.config.n_lines` n sh * ~/.local/share/nvim/lazy/mini.nvim/lua/mini/surround.lua Highlight surrounding n sF * ~/.local/share/nvim/lazy/mini.nvim/lua/mini/surround.lua Find left surrounding n sf * ~/.local/share/nvim/lazy/mini.nvim/lua/mini/surround.lua Find right surrounding n sr * ~/.local/share/nvim/lazy/mini.nvim/lua/mini/surround.lua Replace surrounding n sd * ~/.local/share/nvim/lazy/mini.nvim/lua/mini/surround.lua Delete surrounding n sa * ~/.local/share/nvim/lazy/mini.nvim/lua/mini/surround.lua Add surrounding o zk * ~/.config/nvim/lua/keymaps.lua Flash x zk * ~/.config/nvim/lua/keymaps.lua Flash n zk * ~/.config/nvim/lua/keymaps.lua Flash n * :FloatermToggle Toggle Floaterm 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 = * = Equal Size Splits n + * :resize +10 H Resize + n - * :resize -10 H Resize - n . * :vertical resize +10 V Resize + n , * :vertical resize -10 V Resize - 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') o (textobj-xmlattr-attr-i) & 34_(save-cursor-pos):call g:__textobj_xmlattr.do_by_pattern("select","attr-i","o") v (textobj-xmlattr-attr-i) & 34_(save-cursor-pos):call g:__textobj_xmlattr.do_by_pattern("select","attr-i","v") o (textobj-xmlattr-attr-a) & 34_(save-cursor-pos):call g:__textobj_xmlattr.do_by_pattern("select","attr-a","o") v (textobj-xmlattr-attr-a) & 34_(save-cursor-pos):call g:__textobj_xmlattr.do_by_pattern("select","attr-a","v") n 34_ * 34_ 34_(save-cursor-pos) * 34_save_cursor_pos() n 28_:. & :=getcmdline() =~ ',' ? "\0250" : "" n PlenaryTestFile * :lua require('plenary.test_harness').test_file(vim.fn.expand("%:p")) s luasnip-jump-prev * ~/.local/share/nvim/lazy/LuaSnip/plugin/luasnip.lua LuaSnip: Jump to the previous node s luasnip-jump-next * ~/.local/share/nvim/lazy/LuaSnip/plugin/luasnip.lua LuaSnip: Jump to the next node s luasnip-prev-choice * ~/.local/share/nvim/lazy/LuaSnip/plugin/luasnip.lua LuaSnip: Change to the previous choice from the choiceNode s luasnip-next-choice * ~/.local/share/nvim/lazy/LuaSnip/plugin/luasnip.lua LuaSnip: Change to the next choice from the choiceNode s luasnip-expand-snippet * ~/.local/share/nvim/lazy/LuaSnip/plugin/luasnip.lua LuaSnip: Expand the current snippet s luasnip-expand-or-jump * ~/.local/share/nvim/lazy/LuaSnip/plugin/luasnip.lua LuaSnip: Expand or jump in the current snippet luasnip-expand-repeat * ~/.local/share/nvim/lazy/LuaSnip/plugin/luasnip.lua LuaSnip: Repeat last node expansion n luasnip-delete-check * ~/.local/share/nvim/lazy/LuaSnip/plugin/luasnip.lua LuaSnip: Removes current snippet from jumplist x * silent! update | redraw Save and go to Normal mode n * :w! Save 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 Tue 21 Jan 2025 15:24:13 EET