dotfiles/neovim/help.md

716 B
Raw Blame History

vim surround

change surround

cs'"

delete surround

ds"

change tags (balise)

cst'

add surround on word

ysiw]  => no space
ysiw[  => space

add surround on line

yss]

visual block surround

select and S]


:help text-objects

da”  D elete A round double quotes
di]  D elete I nside square brackets
ci{  C hange I nside curly braces
dap  D elete A round P aragraph
vaw  V isually select A round W ord

Fold

zf close fold under cursor
zo open fold
zR open all folds
zM close all open folds
za toggles the fold at the cursor

Vim diff mode

:windo diffthis
:windo diffoff