summaryrefslogtreecommitdiff
path: root/xmodmap
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2014-10-31 22:01:56 +0000
committerUrbain Vaes <urbain@vaes.uk>2014-10-31 22:01:56 +0000
commit44a3ed3384a68c172943a7db6992e2dffa88230b (patch)
treed5d79c06bd464e7026708de35a0f73ec0d16317f /xmodmap
parent0fcd6967752813b7e8281c27bd9bc02e6deda34a (diff)
Commit new version (no dots, vim folder and mutt folder)
Diffstat (limited to 'xmodmap')
-rw-r--r--xmodmap31
1 files changed, 31 insertions, 0 deletions
diff --git a/xmodmap b/xmodmap
new file mode 100644
index 0000000..7e5dd12
--- /dev/null
+++ b/xmodmap
@@ -0,0 +1,31 @@
+# Remap dead key
+xmodmap -e "keycode 94 = backslash asciicircum"
+
+# Make caps lock a modifier
+xmodmap -e "clear Lock"
+xmodmap -e "keycode 66 = Control_L"
+xmodmap -e "add Control = Control_L"
+
+
+xmodmap -e "keycode 94 = Mode_switch"
+
+# Numbers
+xmodmap -e "keycode 65 = space space 0"
+xmodmap -e "keycode 43 = d D 0"
+xmodmap -e "keycode 39 = o O 1"
+xmodmap -e "keycode 58 = m M 1"
+xmodmap -e "keycode 40 = e E 2"
+xmodmap -e "keycode 59 = w W 2"
+xmodmap -e "keycode 41 = u U 3"
+xmodmap -e "keycode 60 = v V 3"
+xmodmap -e "keycode 44 = h H 4"
+xmodmap -e "keycode 45 = t T 5"
+xmodmap -e "keycode 46 = n N 6"
+xmodmap -e "keycode 30 = g G 7"
+xmodmap -e "keycode 31 = c C 8"
+xmodmap -e "keycode 32 = r R 9"
+
+# Dollars, symbols hard to reach
+xmodmap -e "keycode 47 = s S dollar"
+
+/home/urbain/xcape/xcape -e 'Control_L=Escape'