b85f1f3cf8a70e0602446bd5b664320738791324

Author
Pavle Portic <git@theedgeofrage.com>
Committer
Pavle Portic <git@theedgeofrage.com>
Date

Message

Add custom colemak keybinding file

Diff

This diff is truncated to protect this page.

  1diff --git a/custom_colemak b/custom_colemak
  2new file mode 100644
  3index 0000000000000000000000000000000000000000..3082455e284a14540596e27037a5280234014d5c
  4--- /dev/null
  5+++ b/custom_colemak
  6@@ -0,0 +1,2008 @@
  7+default partial alphanumeric_keys modifier_keys
  8+xkb_symbols "basic" {
  9+
 10+    name[Group1]= "English (US)";
 11+
 12+    key <TLDE> {	[     grave,	asciitilde	]	};
 13+    key <AE01> {	[	  1,	exclam 		]	};
 14+    key <AE02> {	[	  2,	at		]	};
 15+    key <AE03> {	[	  3,	numbersign	]	};
 16+    key <AE04> {	[	  4,	dollar		]	};
 17+    key <AE05> {	[	  5,	percent		]	};
 18+    key <AE06> {	[	  6,	asciicircum	]	};
 19+    key <AE07> {	[	  7,	ampersand	]	};
 20+    key <AE08> {	[	  8,	asterisk	]	};
 21+    key <AE09> {	[	  9,	parenleft	]	};
 22+    key <AE10> {	[	  0,	parenright	]	};
 23+    key <AE11> {	[     minus,	underscore	]	};
 24+    key <AE12> {	[     equal,	plus		]	};
 25+
 26+    key <AD01> {	[	  q,	Q 		]	};
 27+    key <AD02> {	[	  w,	W		]	};
 28+    key <AD03> {	[	  e,	E		]	};
 29+    key <AD04> {	[	  r,	R		]	};
 30+    key <AD05> {	[	  t,	T		]	};
 31+    key <AD06> {	[	  y,	Y		]	};
 32+    key <AD07> {	[	  u,	U		]	};
 33+    key <AD08> {	[	  i,	I		]	};
 34+    key <AD09> {	[	  o,	O		]	};
 35+    key <AD10> {	[	  p,	P		]	};
 36+    key <AD11> {	[ bracketleft,	braceleft	]	};
 37+    key <AD12> {	[ bracketright,	braceright	]	};
 38+
 39+    key <AC01> {	[	  a,	A 		]	};
 40+    key <AC02> {	[	  s,	S		]	};
 41+    key <AC03> {	[	  d,	D		]	};
 42+    key <AC04> {	[	  f,	F		]	};
 43+    key <AC05> {	[	  g,	G		]	};
 44+    key <AC06> {	[	  h,	H		]	};
 45+    key <AC07> {	[	  j,	J		]	};
 46+    key <AC08> {	[	  k,	K		]	};
 47+    key <AC09> {	[	  l,	L		]	};
 48+    key <AC10> {	[ semicolon,	colon		]	};
 49+    key <AC11> {	[ apostrophe,	quotedbl	]	};
 50+
 51+    key <AB01> {	[	  z,	Z 		]	};
 52+    key <AB02> {	[	  x,	X		]	};
 53+    key <AB03> {	[	  c,	C		]	};
 54+    key <AB04> {	[	  v,	V		]	};
 55+    key <AB05> {	[	  b,	B		]	};
 56+    key <AB06> {	[	  n,	N		]	};
 57+    key <AB07> {	[	  m,	M		]	};
 58+    key <AB08> {	[     comma,	less		]	};
 59+    key <AB09> {	[    period,	greater		]	};
 60+    key <AB10> {	[     slash,	question	]	};
 61+
 62+    key <BKSL> {	[ backslash,         bar	]	};
 63+};
 64+
 65+partial alphanumeric_keys
 66+xkb_symbols "euro" {
 67+
 68+    include "us(basic)"
 69+    name[Group1]= "English (US, euro on 5)";
 70+
 71+    include "eurosign(5)"
 72+
 73+    include "level3(ralt_switch)"
 74+};
 75+
 76+
 77+partial alphanumeric_keys
 78+xkb_symbols "ibm238l" {
 79+
 80+    include "us(basic)"
 81+    name[Group1]= "English (US, IBM Arabic 238_L)";
 82+
 83+    key <AB08> {        [     comma,    comma      ]       };
 84+    key <AB09> {        [    period,    period     ]       };
 85+    key <BKSL> {        [ quoteleft,    asciitilde ]       };
 86+    key <LSGT> {        [ backslash,    bar        ]       };
 87+    key <TLDE> {        [ leftcaret,    rightcaret ]       };
 88+};
 89+
 90+partial alphanumeric_keys
 91+xkb_symbols "intl" {
 92+
 93+    include "us(basic)"
 94+    name[Group1]= "English (US, intl., with dead keys)";
 95+
 96+    key <TLDE> { [dead_grave, dead_tilde,         grave,       asciitilde ] };
 97+    key <AE01> { [	   1,     exclam,    exclamdown,      onesuperior ] };
 98+    key <AE02> { [	   2,         at,   twosuperior, dead_doubleacute ] };
 99+    key <AE03> { [	   3, numbersign, threesuperior,      dead_macron ] };
100+    key <AE04> { [	   4,     dollar,      currency,         sterling ] };
101+    key <AE05> { [	   5,    percent,      EuroSign,     dead_cedilla ] };
102+    key <AE06> { [    6, dead_circumflex,    onequarter,      asciicircum ] };
103+    key <AE07> { [	   7,  ampersand,       onehalf,	dead_horn ] };
104+    key <AE08> { [	   8,   asterisk, threequarters,      dead_ogonek ] };
105+    key <AE09> { [	   9,  parenleft, leftsinglequotemark, dead_breve ] };
106diff --git a/init.sh b/init.sh
107index 09e2ab45915976b2395d43b4dd49991b186673e8..b6a8eae1c952eef79bf2e243ed3638a829673167 100755
108--- a/init.sh
109+++ b/init.sh
110@@ -18,3 +18,5 @@ git clone https://github.com/TheEdgeOfRage/zsh-autoswitch-virtualenv ${ohmyzsh_c
111 git clone https://github.com/zsh-users/zsh-autosuggestions ${ohmyzsh_custom}/plugins/zsh-autosuggestions
112 git clone https://github.com/zsh-users/zsh-completions ${ohmyzsh_custom}/plugins/zsh-completions
113 git clone https://github.com/zsh-users/zsh-syntax-highlighting ${ohmyzsh_custom}/plugins/zsh-syntax-highlighting
114+
115+sudo cp ./custom_colemak /usr/share/X11/xkb/symbols/custom