Vim tutorial
ESC: exit mode
i : insert
save: :w
save and exit: :wq
exit: :q
force: ! (example :w! :q!)
vertical split: open a document and then type :vsplit /path-to-document/document and this will open the specified document and split the screen so you can see both documents.
copy: y + enter
copy a line: yy + enter
paste: p
cut: d
cut a line: dd
i : insert
save: :w
save and exit: :wq
exit: :q
force: ! (example :w! :q!)
vertical split: open a document and then type :vsplit /path-to-document/document and this will open the specified document and split the screen so you can see both documents.
copy: y + enter
copy a line: yy + enter
paste: p
cut: d
cut a line: dd
Comments
Post a Comment