X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=xmodmaprc;h=7fdda435252e803f1db7d6209c2dda23822ded08;hb=d6507ad9c6de60f9e14c7c448d3a909151b92542;hp=48c858a5c95ec656c3fb460fbe6442da4fcbd353;hpb=1727213ce076b43f51d004c97e04361c50d05cb5;p=config%2Fdotfiles.git diff --git a/xmodmaprc b/xmodmaprc index 48c858a..7fdda43 100644 --- a/xmodmaprc +++ b/xmodmaprc @@ -1,8 +1,31 @@ ! Keymap configuration file for xmodmap. +! Copyright (C) 2011-2012 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 . -! 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