setup keys and mouse

from http://www.emacswiki.org/emacs/setup-keys.el