Last active
September 30, 2024 22:54
-
-
Save 0racle/bdaeb945cf42de317a48db7b1529f0fe to your computer and use it in GitHub Desktop.
inputrc file for Dyalog APL prefix mappings (à la TryAPL.org)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If you want to use this with rlwrap, the following command works for me | |
# > INPUTRC='~/.dyalog/inputrc' rlwrap -a dyalog -s -b | |
# Which can then be aliased to whatever you like | |
"`[": "←" | |
"`-": "×" | |
"`=": "÷" | |
"`p": "*" | |
"`*": "⍟" | |
"`+": "⌹" | |
"`o": "○" | |
"`_": "!" | |
"`q": "?" | |
"`m": "|" | |
"`s": "⌈" | |
"`d": "⌊" | |
"`b": "⊥" | |
"`n": "⊤" | |
"`|": "⊣" | |
"`\\": "⊢" | |
"`5": "=" | |
"`8": "≠" | |
"`4": "≤" | |
"`3": "<" | |
"`7": ">" | |
"`6": "≥" | |
"`:": "≡" | |
"`\"": "≢" | |
"`9": "∨" | |
"`0": "∧" | |
"`)": "⍲" | |
"`(": "⍱" | |
"`y": "↑" | |
"`u": "↓" | |
"`z": "⊂" | |
"`x": "⊃" | |
"`Z": "⊆" | |
"`L": "⌷" | |
"`$": "⍋" | |
"`#": "⍒" | |
"`i": "⍳" | |
"`I": "⍸" | |
"`e": "∊" | |
"`E": "⍷" | |
"`v": "∪" | |
"`c": "∩" | |
"`t": "~" | |
"`/": "⌿" | |
"`.": "⍀" | |
"`<": "⍪" | |
"`r": "⍴" | |
"`%": "⌽" | |
"`&": "⊖" | |
"`^": "⍉" | |
"`1": "¨" | |
"`T": "⍨" | |
"`P": "⍣" | |
"`j": "∘" | |
"`J": "⍤" | |
"`O": "⍥" | |
"`l": "⎕" | |
"`?": "⍠" | |
"`K": "⌸" | |
"`~": "⌺" | |
"`!": "⌶" | |
"`;": "⍎" | |
"`'": "⍕" | |
"``": "⋄" | |
"`,": "⍝" | |
"`w": "⍵" | |
"`a": "⍺" | |
"`g": "∇" | |
"`2": "¯" | |
"`}": "⍬" | |
"`g": "∇" | |
"`G": "⍢" | |
"`>": "⍙" | |
"`N": "¤" | |
"`M": "∥" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment