Vim shortcuts I can't remember.
:set tabstop=8 |
Set hard tab width to 8, useful if you open a file by Emacs which uses 4 spaces for one level of indent and hard tab for 2. |
"+gp |
Paste from system clipboard after cursor |
"+gP |
Paste from system clipboard before cursor |
"+y |
Copy to the system clipboard |
/gc |
Confirmation in a global search and replace |
:e $MYVIMRC |
edit .vimrc in vim | CTRL-U |
scroll up half a screen |
CTRL-D |
scroll down half a screen |