Skip to content

Instantly share code, notes, and snippets.

@rawsyntax
Created February 11, 2012 01:13
Show Gist options
  • Save rawsyntax/1794878 to your computer and use it in GitHub Desktop.
Save rawsyntax/1794878 to your computer and use it in GitHub Desktop.
the commit that broke my arrow key habit
commit 11dce2502c111ff9ae73f95dde89f27d0f84416a
Author: Eric Himmelreich <[email protected]>
Date: Fri Sep 16 10:53:49 2011 -0400
break arrow keys habit, I already know the emacs bindings for moving
Modified eric/bindings.el
diff --git a/eric/bindings.el b/eric/bindings.el
index 9915c7e..bb9d4fc 100644
--- a/eric/bindings.el
+++ b/eric/bindings.el
@@ -8,3 +8,9 @@
(global-set-key (kbd "C-w") 'backward-kill-word)
(global-set-key (kbd "C-x C-k") 'kill-region)
+
+;; stop using the arrow keys
+(global-unset-key [left])
+(global-unset-key [up])
+(global-unset-key [right])
+(global-unset-key [down])
[back]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment