Command modes in vi
ESCAPE
exits insert mode, returns to command mode
yy
yy “yanks” the current line to a temporary buffer
p, P
p “puts” the temporary buffer after current line, P “puts” temporary buffer before current line
Previous slide
Next slide
Back to first slide
View graphic version