From 1727213ce076b43f51d004c97e04361c50d05cb5 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 14 Mar 2009 16:27:09 +0100 Subject: [PATCH] Add keymap configuration file. At the moment the only change is the use of the Caps-Lock key as Escape. --- setup.sh | 1 + xinitrc | 3 +++ xmodmaprc | 8 ++++++++ 3 files changed, 12 insertions(+) create mode 100644 xmodmaprc diff --git a/setup.sh b/setup.sh index a5a97df..35607c4 100755 --- a/setup.sh +++ b/setup.sh @@ -9,5 +9,6 @@ if installed stumpwm; then fi if installed X; then link xinitrc ~/.xinitrc + link xmodmaprc ~/.xmodmaprc link Xdefaults ~/.Xdefaults fi diff --git a/xinitrc b/xinitrc index c3c3655..1c586bc 100644 --- a/xinitrc +++ b/xinitrc @@ -4,6 +4,9 @@ # Use a black background for the root window. xsetroot -solid black +# Use my X11 key bindings. +xmodmap ~/.xmodmaprc + # Start stumpwm. exec stumpwm diff --git a/xmodmaprc b/xmodmaprc new file mode 100644 index 0000000..48c858a --- /dev/null +++ b/xmodmaprc @@ -0,0 +1,8 @@ +! 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 + +! vim: ft=xmodmap -- 2.45.2