]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
Add keymap configuration file.
authorSimon Ruderich <simon@ruderich.org>
Sat, 14 Mar 2009 15:27:09 +0000 (16:27 +0100)
committerSimon Ruderich <simon@ruderich.org>
Sat, 14 Mar 2009 15:27:09 +0000 (16:27 +0100)
At the moment the only change is the use of the Caps-Lock key as Escape.

setup.sh
xinitrc
xmodmaprc [new file with mode: 0644]

index a5a97df49e2ce64f0eaaf22bb25efd2671e3aad0..35607c46a59ff5b016ca43909265cc1fe9509f86 100755 (executable)
--- 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 c3c36553dba41e9399d6a8ddbbe420075e90dfd5..1c586bc66db0ae9197581f5d7860db637b70e3df 100644 (file)
--- 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 (file)
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