]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - x11/xmodmaprc
Move to x11/ in preparation for merge into new dotfiles repository
[config/dotfiles.git] / x11 / xmodmaprc
diff --git a/x11/xmodmaprc b/x11/xmodmaprc
new file mode 100644 (file)
index 0000000..224bfce
--- /dev/null
@@ -0,0 +1,35 @@
+! Keymap configuration file for xmodmap.
+!
+! Not actively used at the moment, ~/.xinitrc performs the same settings. Only
+! necessary in case the settings reset itself and a manual run is necessary.
+! Keep in sync with settings in xinitrc.
+
+! Copyright (C) 2011-2013  Simon Ruderich
+!
+! This file is free software: you can redistribute it and/or modify
+! it under the terms of the GNU General Public License as published by
+! the Free Software Foundation, either version 3 of the License, or
+! (at your option) any later version.
+!
+! This file is distributed in the hope that it will be useful,
+! but WITHOUT ANY WARRANTY; without even the implied warranty of
+! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+! GNU General Public License for more details.
+!
+! You should have received a copy of the GNU General Public License
+! along with this file.  If not, see <http://www.gnu.org/licenses/>.
+
+
+! Use the Caps lock as Ctrl because it's 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