]> git.rmz.io Git - dotfiles.git/commitdiff
remap Escape to Caps_Lock
authorSamir Benmendil <samir.benmendil@gmail.com>
Tue, 8 Jan 2013 18:38:36 +0000 (19:38 +0100)
committerSamir Benmendil <samir.benmendil@gmail.com>
Tue, 8 Jan 2013 18:38:36 +0000 (19:38 +0100)
vim FTW

Xmodmap

diff --git a/Xmodmap b/Xmodmap
index 72797667e42330bd85b774036d45e8a5842335e3..c82a58d025c2395c1b33ea3b19fdca3e26547beb 100644 (file)
--- a/Xmodmap
+++ b/Xmodmap
@@ -16,4 +16,6 @@ keycode 128 = F23
 ! Dashboard: fn+F4
 keycode 212 = F24
 
-
+! remap Caps_Lock as Escape
+remove Lock = Caps_Lock
+keysym Caps_Lock = Escape