summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Udaltsov <sergey.udaltsov@gmail.com>2016-09-15 00:33:58 +0100
committerSergey Udaltsov <sergey.udaltsov@gmail.com>2016-09-15 00:33:58 +0100
commitb5561689894b14de865c256632933680f052a916 (patch)
treeb22a3ad52256322f6196167a4a8a0c9ea68055b5
parentbe43b8c740926e73bd714611a3deb23dcdaa6423 (diff)
Added parens:swap_brackets
https://bugs.freedesktop.org/show_bug.cgi?id=90235
-rw-r--r--symbols/parens8
1 files changed, 8 insertions, 0 deletions
diff --git a/symbols/parens b/symbols/parens
new file mode 100644
index 00000000..47af7ab9
--- /dev/null
+++ b/symbols/parens
@@ -0,0 +1,8 @@
+// swap parentheses and square brackets
+partial default
+xkb_symbols "swap_brackets" {
+ replace key <AE09> { [ 9, bracketleft ] };
+ replace key <AE10> { [ 0, bracketright ] };
+ replace key <AD11> { [ parenleft, braceleft ] };
+ replace key <AD12> { [ parenright, braceright ] };
+};