]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - xmodmaprc
.gitignore: Use absolute paths.
[config/dotfiles.git] / xmodmaprc
index 48c858a5c95ec656c3fb460fbe6442da4fcbd353..77685abc1450a547f919dcfae8916679e283fd7a 100644 (file)
--- a/xmodmaprc
+++ b/xmodmaprc
@@ -1,8 +1,16 @@
 ! Keymap configuration file for xmodmap.
 
 
-! Use the caps lock as escape as it easier to reach and very useful for Vim.
-clear Lock
-keysym Caps_Lock = Escape
+! Use the caps lock as ctrl as it easier to reach and very useful for all
+! programs. Caps lock is removed completely. Thanks to
+! http://snarfed.org/space/switch%20control%20and%20caps%20lock
+remove Lock = Caps_Lock
+remove Control = Control_L
+keysym Caps_Lock = Control_L
+add Control = Control_L
+
+! Move grave and tilde next to left shift key. This setting may only be
+! necessary because of my German keyboard which I use with English settings.
+keycode 94 = grave asciitilde
 
 ! vim: ft=xmodmap