summaryrefslogtreecommitdiff
path: root/config/iocane
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2021-10-09 22:20:41 +0100
committerdavidovski <david@davidovski.xyz>2021-10-09 22:20:41 +0100
commit01ced0b7ce47d279789efb2dc70d1cd009ac56ad (patch)
tree6ece604b8ae3476d2d70c9c9d42f86fe607990da /config/iocane
initial commit
Diffstat (limited to 'config/iocane')
-rw-r--r--config/iocane/config61
1 files changed, 61 insertions, 0 deletions
diff --git a/config/iocane/config b/config/iocane/config
new file mode 100644
index 0000000..2e41e63
--- /dev/null
+++ b/config/iocane/config
@@ -0,0 +1,61 @@
+# IOCANERC
+# key bindings for iocane
+#
+# format:
+# <key> <command>
+#
+# <key> is an X11 keysym without the leading "XK_"
+# <command> is the iocane command to be executed
+# <key> and <command> must be separated by exactly one space
+
+
+# movement
+h move -64 0
+j move 0 64
+k move 0 -64
+l move 64 0
+
+Left move -16 0
+Down move 0 16
+Up move 0 -16
+Right move 16 0
+
+# keypad
+KP_Home move -32 -32
+KP_Up move 0 -32
+KP_Prior move 32 -32
+KP_Left move -32 0
+KP_Begin button 1
+KP_Right move 32 0
+KP_End move -32 32
+KP_Down move 0 32
+KP_Next move 32 32
+
+# buttons
+f button 1
+d button 1
+
+1 button 1
+2 button 2
+3 button 3
+4 button 4
+5 button 5
+6 button 6
+7 button 7
+Space button 1
+Prior button 4
+Next button 5
+
+# cursors (see X Font Cursors for options)
+#x cursor 0
+#a cursor 68
+#s cursor 130
+#d cursor 64
+#f cursor 142
+
+# misc
+o 0 0
+p powder
+q quit
+Escape quit
+