Vim

sudo with your own config
''sudo -e /etc/whatever'' instead of ''sudo vim /etc/whatever'' uses your config and not root's.

Insert on multiple lines at once.
Enter visual block mode by entering «CTRL-b». Mark a column by going up or down. Go to insert mode with the capital «I», type your text and press «».

(remove everything and the parentheses)
''da)'' delete around )

(remove everything and not parentheses)
''di)'' delete inner )

Instead of ''d'' for delete, you can also ''y'' for yank or ''c'' for change.

Brake long lines
''CTRL-v'' to enter visual mode, mark your lines and press ''gq''.

Join lines
''CTRL-v'' to enter visual mode, mark your lines nad press 'J'

reselect
gv - reselect (select last selected block of text, from visual mode)

share clipboard between multiple vim instances for cross yanking
touch ~/.viminfo