aboutsummaryrefslogtreecommitdiff
path: root/xmodmap
diff options
context:
space:
mode:
authorxero <x@xero.nu>2015-09-04 17:43:09 -0400
committerxero <x@xero.nu>2015-09-04 17:43:09 -0400
commitca99575ce086e957749f75a4822b3ed901eed8b6 (patch)
treecbf747df7bc333d7e776920bf71aa1324af4c9e9 /xmodmap
parent8cafc9088655302cc99db700e87cd2ed13740d44 (diff)
downloaddotfiles_ascii-ca99575ce086e957749f75a4822b3ed901eed8b6.tar.xz
dotfiles_ascii-ca99575ce086e957749f75a4822b3ed901eed8b6.zip
global vi/m movement keys :key:
Diffstat (limited to 'xmodmap')
-rw-r--r--xmodmap/.xmodmap30
1 files changed, 30 insertions, 0 deletions
diff --git a/xmodmap/.xmodmap b/xmodmap/.xmodmap
new file mode 100644
index 0000000..1d05394
--- /dev/null
+++ b/xmodmap/.xmodmap
@@ -0,0 +1,30 @@
+! ██
+! ░██
+! ██ ██ ██████████ ██████ ░██ ██████████ ██████ ██████
+! ░░██ ██ ░░██░░██░░██ ██░░░░██ ██████░░██░░██░░██ ░░░░░░██ ░██░░░██
+! ░░███ ░██ ░██ ░██░██ ░██ ██░░░██ ░██ ░██ ░██ ███████ ░██ ░██
+! ██░██ ░██ ░██ ░██░██ ░██░██ ░██ ░██ ░██ ░██ ██░░░░██ ░██████
+! ██ ░░██ ███ ░██ ░██░░██████ ░░██████ ███ ░██ ░██░░████████░██░░░
+! ░░ ░░ ░░░ ░░ ░░ ░░░░░░ ░░░░░░ ░░░ ░░ ░░ ░░░░░░░░ ░██
+! ░░
+! ▓▓▓▓▓▓▓▓▓▓
+! ░▓ author ▓ xero <x@xero.nu>
+! ░▓ code ▓ http://code.xero.nu/dotfiles
+! ░▓ mirror ▓ http://git.io/.files
+! ░▓▓▓▓▓▓▓▓▓▓
+! ░░░░░░░░░░
+!
+!█▓▒░ remove caps lock
+clear lock
+remove Lock = Caps_Lock
+remove Shift = Caps_Lock
+
+!█▓▒░ add mode switch
+keycode 66 = NoSymbol NoSymbol
+keycode 66 = Mode_switch
+
+!█▓▒░ set vi movments
+keysym h = h H Left NoSymbol NoSymbol NoSymbol
+keysym j = j J Down NoSymbol NoSymbol NoSymbol
+keysym k = k K Up NoSymbol NoSymbol NoSymbol
+keysym l = l L Right NoSymbol lstroke Lstroke