+
: Increment number under cursor-
: Decrement number under cursor
dw
: Delete word under cursor<leader>d
: Delete current line
<C-a>
: Select all text<C-v>
: Toggle visual mode
<C-m>
: Jump to the next location in the jump list
te
: Open a new tab<tab>
: Move to the next tab<s-tab>
: Move to the previous tabtw
: Close the current tab
<leader>w
: Save changes (:update
)<leader>q
: Quit current buffer (:quit
)<leader>Q
: Quit all buffers (:qa
)
ss
: Split window horizontally (:split
)sv
: Split window vertically (:vsplit
)- Window Movement:
sh
: Move to the window on the leftsk
: Move to the window abovesj
: Move to the window belowsl
: Move to the window on the right
<C-w><left>
: Decrease window width<C-w><right>
: Increase window width<C-w><up>
: Increase window height<C-w><down>
: Decrease window height
<C-j>
: Jump to the next diagnostic
<leader>ff
: Find files (:find
)<leader>fo
: Open file explorer (:e.
)<leader>ft
: Toggle file tree view
<leader>p
: Paste text from clipboard (p
)<leader>y
: Yank (copy) text (y
)<leader>x
: Cut text (x
)<leader>u
: Undo last change (u
)<leader>r
: Redo last change (<C-r>
)
<leader>/
: Search globally (:grep
)<leader>*
: Search current word under cursor (*
)<leader>bd
: Close current buffer (:bd
)<leader>sp
: Toggle spell check (:set spell!
)