Vim

Description
Command

Add line number

:set number

Enter visual mode

v

Copy selected text

y

Cut selected text

x

Past

p

Quit without saving

:q | ZQ

Save and Quit

:wq | ZZ

Last updated