Skip to content

Latest commit

 

History

History

nvim-lazyvim

⌨️ Neovim Key Mappings

This file was generated by generate-keymaps-markdown.lua.

Mode Keys Description Command
n <Esc> Escape and Clear hlsearch <Cmd>noh<CR><Esc>
n <Leader>D Toggle DBUI  <Cmd>DBUIToggle<CR>
n <Leader>fr Recent <Cmd>FzfLua oldfiles<CR>
n <Leader>fg Find Files (git-files) <Cmd>FzfLua git_files<CR>
n <Leader>fb Buffers <Cmd>FzfLua buffers sort_mru=true sort_lastused=true<CR>
n <Leader>: Command History <Cmd>FzfLua command_history<CR>
n <Leader>, Switch Buffer <Cmd>FzfLua buffers sort_mru=true sort_lastused=true<CR>
n <Leader>sq Quickfix List <Cmd>FzfLua quickfix<CR>
n <Leader>sR Resume <Cmd>FzfLua resume<CR>
n <Leader>sm Jump to Mark <Cmd>FzfLua marks<CR>
n <Leader>sM Man Pages <Cmd>FzfLua man_pages<CR>
n <Leader>sl Location List <Cmd>FzfLua loclist<CR>
n <Leader>sk Key Maps <Cmd>FzfLua keymaps<CR>
n <Leader>sj Jumplist <Cmd>FzfLua jumps<CR>
n <Leader>sH Search Highlight Groups <Cmd>FzfLua highlights<CR>
n <Leader>sh Help Pages <Cmd>FzfLua help_tags<CR>
n <Leader>sD Workspace Diagnostics <Cmd>FzfLua diagnostics_workspace<CR>
n <Leader>sd Document Diagnostics <Cmd>FzfLua diagnostics_document<CR>
n <Leader>sC Commands <Cmd>FzfLua commands<CR>
n <Leader>sc Command History <Cmd>FzfLua command_history<CR>
n <Leader>sb Buffer <Cmd>FzfLua grep_curbuf<CR>
n <Leader>sa Auto Commands <Cmd>FzfLua autocmds<CR>
n <Leader>s" Registers <Cmd>FzfLua registers<CR>
n <Leader>gs Status <Cmd>FzfLua git_status<CR>
n <Leader>gc Commits <Cmd>FzfLua git_commits<CR>
n <Leader>ow Workspace <Cmd>ObsidianWorkspace<CR>
n <Leader>ot Tags <Cmd>ObsidianTags<CR>
n <Leader>os Search <Cmd>ObsidianSearch<CR>
n <Leader>oq Quick Switch <Cmd>ObsidianQuickSwitch<CR>
n <Leader>op Paste Image <Cmd>ObsidianPasteImg<CR>
n <Leader>oo Open Note <Cmd>ObsidianOpen<CR>
n <Leader>om Template <Cmd>ObsidianTemplate<CR>
n <Leader>ol Links <Cmd>ObsidianLinks<CR>
n <Leader>oc Toggle Checkbox <Cmd>lua require('obsidian').util.toggle_checkbox()<CR>
n <Leader>ob Backlinks <Cmd>ObsidianBacklinks<CR>
n <Leader>su Undo <Cmd>Telescope undo<CR>
n <Leader>e Oil  <Cmd>lua require('oil').toggle_float()<CR>
n <Leader>xT Todo/Fix/Fixme (Trouble) <Cmd>Trouble todo toggle filter = {tag = {TODO,FIX,FIXME}}<CR>
n <Leader>xt Todo (Trouble) <Cmd>Trouble todo toggle<CR>
n <Leader>oy Yesterday's Note <Cmd>ObsidianYesterday<CR>
n <Leader>od Daily Note <Cmd>ObsidianToday<CR>
n <Leader>on New Note <Cmd>ObsidianNew<CR>
n <Leader><Tab>[ Previous Tab <Cmd>tabprevious<CR>
n <Leader><Tab>d Close Tab <Cmd>tabclose<CR>
n <Leader><Tab>] Next Tab <Cmd>tabnext<CR>
n <Leader><Tab><Tab> New Tab <Cmd>tabnew<CR>
n <Leader><Tab>f First Tab <Cmd>tabfirst<CR>
n <Leader><Tab>o Close Other Tabs <Cmd>tabonly<CR>
n <Leader><Tab>l Last Tab <Cmd>tablast<CR>
n <Leader>wd Delete Window <C-W>c
n <Leader>| Split Window Right <C-W>v
n <Leader>- Split Window Below <C-W>s
n <Leader>w Save <Cmd>w<CR>
n <Leader>uI Inspect Tree <Cmd>InspectTree<CR>
n <Leader>qq Quit All <Cmd>qa<CR>
n <Leader>gl Blame <Cmd>Gitsigns blame_line<CR>
n <Leader>xq Quickfix List <Cmd>copen<CR>
n <Leader>xl Location List <Cmd>lopen<CR>
n <Leader>fn New File <Cmd>enew<CR>
n <Leader>l Lazy <Cmd>Lazy<CR>
n <Leader>K Keywordprg <Cmd>norm! K<CR>
n <Leader>ur Redraw / Clear hlsearch / Diff Update <Cmd>nohlsearch|diffupdate|normal! <C-L><CR>
n <Leader>bD Delete Buffer and Window <Cmd>:bd<CR>
n ``` Switch to Other Buffer <Cmd>e #<CR>
n <Leader>bb Switch to Other Buffer <Cmd>e #<CR>
n <Leader>xx Diagnostics (Trouble) <Cmd>Trouble diagnostics toggle<CR>
n <Leader>xQ Quickfix List (Trouble) <Cmd>Trouble qflist toggle<CR>
n <Leader>xL Location List (Trouble) <Cmd>Trouble loclist toggle<CR>
n <Leader>cS LSP references/definitions/... (Trouble) <Cmd>Trouble lsp toggle<CR>
n <Leader>cs Symbols (Trouble) <Cmd>Trouble symbols toggle<CR>
n <Leader>xX Buffer Diagnostics (Trouble) <Cmd>Trouble diagnostics toggle filter.buf=0<CR>
n <Leader>cm Mason <Cmd>Mason<CR>
n & :help &-default :&&<CR>
n - Open Parent Directory ../ <Cmd>Oil<CR>
n <lt>P Put Before and Indent Left <Plug>(YankyPutIndentBeforeShiftLeft)
n <lt>p Put and Indent Left <Plug>(YankyPutIndentAfterShiftLeft)
n =p Put After Applying a Filter <Plug>(YankyPutAfterFilter)
n =P Put Before Applying a Filter <Plug>(YankyPutBeforeFilter)
n >p Put and Indent Right <Plug>(YankyPutIndentAfterShiftRight)
n >P Put Before and Indent Right <Plug>(YankyPutIndentBeforeShiftRight)
n H Prev Buffer <Cmd>bprevious<CR>
n L Next Buffer <Cmd>bnext<CR>
n N Prev Search Result 'nN'[v:searchforward].'zv'
n P Put Text Before Cursor <Plug>(YankyPutBefore)
n Y :help Y-default y$
n [y Cycle Forward Through Yank History <Plug>(YankyCycleForward)
n [p Put Indented Before Cursor (Linewise) <Plug>(YankyPutIndentBeforeLinewise)
n [P Put Indented Before Cursor (Linewise) <Plug>(YankyPutIndentBeforeLinewise)
n [b Prev Buffer <Cmd>bprevious<CR>
n ]y Cycle Backward Through Yank History <Plug>(YankyCycleBackward)
n ]p Put Indented After Cursor (Linewise) <Plug>(YankyPutIndentAfterLinewise)
n ]P Put Indented After Cursor (Linewise) <Plug>(YankyPutIndentAfterLinewise)
n ]b Next Buffer <Cmd>bnext<CR>
n gP Put Text Before Selection <Plug>(YankyGPutBefore)
n gcO Add Comment Above O<Esc>Vcx<Esc><Cmd>normal gcc<CR>fxa<BS>
n gco Add Comment Below o<Esc>Vcx<Esc><Cmd>normal gcc<CR>fxa<BS>
n j Down v:count == 0 ? 'gj' : 'j'
n k Up v:count == 0 ? 'gk' : 'k'
n n Next Search Result 'Nn'[v:searchforward].'zv'
n p Put Text After Cursor <Plug>(YankyPutAfter)
n y Yank Text <Plug>(YankyYank)
n <M-l> Increase window width :vertical resize +2<CR>
n <M-h> Decrease window width :vertical resize -2<CR>
n <C-S> Save File <Cmd>w<CR><Esc>
n <M-k> Increase window height :resize +2<CR>
n <M-j> Decrease window height :resize -2<CR>
n <C-Right> Increase Window Width <Cmd>vertical resize +2<CR>
n <C-Left> Decrease Window Width <Cmd>vertical resize -2<CR>
n <C-Down> Decrease Window Height <Cmd>resize -2<CR>
n <C-Up> Increase Window Height <Cmd>resize +2<CR>
n <Up> Up v:count == 0 ? 'gk' : 'k'
n <Down> Down v:count == 0 ? 'gj' : 'j'
n <C-W><C-D> Show diagnostics under the cursor <C-W>d
i <C-S> Save File <Cmd>w<CR><Esc>
i <M-k> Move Up <Esc><Cmd>m .-2<CR>==gi
i <M-j> Move Down <Esc><Cmd>m .+1<CR>==gi
i <BS> MiniPairs <BS> v:lua.MiniPairs.bs()
i <C-W> :help i_CTRL-W-default <C-G>u<C-W>
i <C-U> :help i_CTRL-U-default <C-G>u<C-U>
i <CR> MiniPairs <CR> v:lua.MiniPairs.cr()
i <Esc> Escape and Clear hlsearch <Cmd>noh<CR><Esc>
i " Closeopen action for '""' pair v:lua.MiniPairs.closeopen('""', "[^\\].")
i ' Closeopen action for "''" pair v:lua.MiniPairs.closeopen("''", "[^%a\\].")
i ( Open action for "()" pair v:lua.MiniPairs.open("()", "[^\\].")
i ) Close action for "()" pair v:lua.MiniPairs.close("()", "[^\\].")
i [ Open action for "[]" pair v:lua.MiniPairs.open("[]", "[^\\].")
i ] Close action for "[]" pair v:lua.MiniPairs.close("[]", "[^\\].")
i ``` Closeopen action for "\`" pair` v:lua.MiniPairs.closeopen("\`", "[^\\].")`
i { Open action for "{}" pair v:lua.MiniPairs.open("{}", "[^\\].")
i } Close action for "{}" pair v:lua.MiniPairs.close("{}", "[^\\].")
v <Leader>y Yank to clipboard "+y
v <Leader>p Paste from clipboard "+p
v @ :help v_@-default mode() == 'V' ? ':normal! @'.getcharstr().'<CR>' : '@'
v N Prev Search Result 'nN'[v:searchforward]
v P Put Text Before Cursor <Plug>(YankyPutBefore)
v Q :help v_Q-default mode() == 'V' ? ':normal! @<C-R>=reg_recorded()<CR><CR>' : 'Q'
v gP Put Text Before Selection <Plug>(YankyGPutBefore)
v j Down v:count == 0 ? 'gj' : 'j'
v k Up v:count == 0 ? 'gk' : 'k'
v n Next Search Result 'Nn'[v:searchforward]
v y Yank Text <Plug>(YankyYank)
v <C-S> Save File <Cmd>w<CR><Esc>
v <C-S> Save File <Cmd>w<CR><Esc>
v <M-k> Move Up :m '<lt>-2<CR>gv=gv
v <M-j> Move Down :m '>+1<CR>gv=gv
v <Up> Up v:count == 0 ? 'gk' : 'k'
v <Down> Down v:count == 0 ? 'gj' : 'j'
x <Leader>y Yank to clipboard "+y
x @ :help v_@-default mode() == 'V' ? ':normal! @'.getcharstr().'<CR>' : '@'
x N Prev Search Result 'nN'[v:searchforward]
x P Put Text Before Cursor <Plug>(YankyPutBefore)
x Q :help v_Q-default mode() == 'V' ? ':normal! @<C-R>=reg_recorded()<CR><CR>' : 'Q'
x gP Put Text Before Selection <Plug>(YankyGPutBefore)
x j Down v:count == 0 ? 'gj' : 'j'
x k Up v:count == 0 ? 'gk' : 'k'
x n Next Search Result 'Nn'[v:searchforward]
x y Yank Text <Plug>(YankyYank)
x <C-S> Save File <Cmd>w<CR><Esc>
x <M-k> Move Up :m '<lt>-2<CR>gv=gv
x <M-j> Move Down :m '>+1<CR>gv=gv
x <Up> Up v:count == 0 ? 'gk' : 'k'
x <Down> Down v:count == 0 ? 'gj' : 'j'
c <BS> MiniPairs <BS> v:lua.MiniPairs.bs()
c " Closeopen action for '""' pair v:lua.MiniPairs.closeopen('""', "[^\\].")
c ' Closeopen action for "''" pair v:lua.MiniPairs.closeopen("''", "[^%a\\].")
c ( Open action for "()" pair v:lua.MiniPairs.open("()", "[^\\].")
c ) Close action for "()" pair v:lua.MiniPairs.close("()", "[^\\].")
c [ Open action for "[]" pair v:lua.MiniPairs.open("[]", "[^\\].")
c ] Close action for "[]" pair v:lua.MiniPairs.close("[]", "[^\\].")
c ``` Closeopen action for "\`" pair` v:lua.MiniPairs.closeopen("\`", "[^\\].")`
c { Open action for "{}" pair v:lua.MiniPairs.open("{}", "[^\\].")
c } Close action for "{}" pair v:lua.MiniPairs.close("{}", "[^\\].")
t <Esc><Esc> Enter Normal Mode <C-\><C-N>
t <C-_> which_key_ignore <Cmd>close<CR>
t <C-/> Hide Terminal <Cmd>close<CR>
t <C-L> Go to Right Window <Cmd>wincmd l<CR>
t <C-K> Go to Upper Window <Cmd>wincmd k<CR>
t <C-J> Go to Lower Window <Cmd>wincmd j<CR>
t <C-H> Go to Left Window <Cmd>wincmd h<CR>