Vim
Vim
vienter vim editor:wsave (all save-related interactions start with:):qquit current file,:qaexit all files:wqorZZsave and quit:q!quit without saveienter insert mode,Escexit insert mode- navigation: arrow keys, also
h,j,k,l
note: exit insert mode with Esc before using these:
Oinsert new line before current lineoinsert new line after current lineSdelete entire lineuundoRorCredo (not always working)0beginning of line (alsoshift+home)$end of line (alsoshift+end)ggfirst lineyycopy (mouse copy also works)ppaste (mouse also works):set numbershow line numbers:20go to line 20:set nonumberhide line numbers