- Arrow keys has been disabled.
<space>1
: New horizontal split(editing current buffer)<space>2
: New vertical split(editing current buffer)U
: for easier undoH
: go to beginning of the lineL
: go to end of the line<ctrl-j>
: move a line of text down<ctrl-k>
: move a line of text up<tab>
: for circular windows navigation- Mapped
<space>
to/
- Mapped
;
to:
for easier ex mode commands - Mapped
,
to<leader>
key<leader>w
: Fast saving<leader>q
: Quickly close the window/buffer<leader>a
: Quickly close the window/buffer without reminder<leader>/
: no highlight search<leader>f
: toggle netwr<leader>tt
: toggle a float terminal<leader>tg
: toggle a lazygit terminal
- prefix
t
for Tab Managementtt
: new tabtn
: next tabtp
: previous tab
- prefix
g
forlspconfig
keymapsgd
: go to definitonvim.lsp.buf.definition()
.gi
:vim.lsp.buf.implementation()
gr
:vim.lsp.buf.rename()
gy
:vim.lsp.buf.type_definition()
gh
:vim.lsp.buf.hover()
gn
:vim.diagnostic.goto_next()
gp
:vim.diagnostic.goto_prev()
ge
:vim.diagnostic.open_float()
- prefix
f
fortelescope
keymapsff
: list files in current project.fb
: list buffers.fg
:Telescope live_grep
fm
:Telescope keymaps
fd
:Telescope lsp_document_symbols
fr
:Telescope lsp_references
<leader-y>
: copy to clipboard<leader-p>
: past from clipboard<leader-x>
: cut to clipboard
<c-j>
: move the selected text down<c-k>
: move the selected text up
<c-j>
: escaping<c-b>
: backward<c-f>
: forward<c-n>
: next line<c-p>
: previous line<c-a>
: go to beginning of the line<c-e>
: go to end of the line<c-u>
: scroll up<c-d>
: scroll down
H
: go to the beginning of the lineL
: go to end of the line