Skip to content

Instantly share code, notes, and snippets.

@rca
Created December 1, 2012 00:54
Show Gist options
  • Save rca/4179834 to your computer and use it in GitHub Desktop.
Save rca/4179834 to your computer and use it in GitHub Desktop.
;; force myself to use arrow keys so that I don't
;; mash the control key with my pinky 90% of the time I am using
;; emacs.
(defun save-the-pinky ()
"Echo out message to echo area"
(interactive)
(message "Use the arrow keys!")
)
(global-set-key [(control n)] 'save-the-pinky)
(global-set-key [(control p)] 'save-the-pinky)
(global-set-key [(control f)] 'save-the-pinky)
(global-set-key [(control b)] 'save-the-pinky)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment