Theses are my personal preferences for programs like vim and tmux.
zz
Move page to have cursor in the middle of the screen
zt
Move page to have cursor at the top of the screen
:split
:s
Split window horisontally
:vs
Split window vertically
:20vs .
20 character wide vertical split opening the file manager of the current directory
"0p
In normal and visual modes, pastes the contents of the register 0
"*p
Pastes the contents of the clipboard
CTL + w
Window management
CTL + w, h/j/k/l
Switch window cursor as indicated by directions keys
CTL + w, w
Switch to next window
CTL + w, o
Close all windows except the one currently selected
CTL + w, c
Close current window
:term
Open terminal
:Explorer :E
Open file explorer
:set spell spelllang=en_au
Turn on spelling highlighting with Australian region
:set nospell
Turn off spelling highlighting
]s
Next highlighted spelling error
[s
Previous highlighted spelling error
z=
See options for misspelt word
zg
Add to dictionary
zw
Mark word as incorrect. Highlight futher instances of this word.
Markdown plugin provided by plasitcboy/vim-markdown
zr
reduces fold level throughout the buffer
zR
opens all folds
zm
increases fold level throughout the buffer
zM
folds everything all the way
za
open a fold your cursor is on
zA
open a fold your cursor is on recursively
zc
close a fold your cursor is on
zC
close a fold your cursor is on recursively
ge
open the link under the cursor in Vim for editing. Useful for relative markdown links. Markdown_EditUrlUnderCursor The rules for the cursor position are the same as the gx command.
]]
go to next header. Markdown_MoveToNextHeader
[[
go to previous header. Contrast with ]c. Markdown_MoveToPreviousHeader
][
go to next sibling header if any. Markdown_MoveToNextSiblingHeader
[
go to previous sibling header if any. Markdown_MoveToPreviousSiblingHeader
]c
go to Current header. Markdown_MoveToCurHeader
]u
go to parent header (Up). Markdown_MoveToParentHeader