You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vi file_name ......... go into file (command mode), now you can read and copy&pase, but you can not write
i ......... for insert mode, now you can write
esc ......... go from insert mode to command mode
command mode:
x .......... delete a charecter
dd ......... delete entire line
yy ......... copy a line
p .......... pase
CTRL + u ... page up
CTRL + D ... page down
: .......... take you to the prompt were you can type commands
:w ......... save the file
:w file_name save file with name
:q ......... dont save and quit
:wq ........ save and quit
/word ...... find <word>, all the results is highlighted, and the cursor is positioned at that location. to move your cursor to the rest occurences pres <n>.