Skip to content

Latest commit

 

History

History
106 lines (101 loc) · 5.36 KB

helix.md

File metadata and controls

106 lines (101 loc) · 5.36 KB

helix for BQN

[[language]]
name = "bqn"
scope = "scope.bqn"
injection-regex = "^bqn"
file-types = ["bqn"]
comment-token = "#"
indent = { tab-width = 2, unit = "  " }
roots = ["*.bqn"]
language-server = { command = "bqnlsp", language-id = "bqn" }
[language.auto-pairs]
'⟨' = ''

How to insert the glyphs (version 0.2)

Zsh builtin echo does not know -n.So we need coreutil`s version.

[keys.insert."C-q"]
"=" = [ ":insert-output /bin/echo -n ×", "move_char_right" ]
minus = [ ":insert-output /bin/echo -n ÷", "move_char_right" ]
"+" = [ ":insert-output /bin/echo -n ⋆", "move_char_right" ]
"_" = [ ":insert-output /bin/echo -n √", "move_char_right" ]
"b" = [ ":insert-output /bin/echo -n ⌊", "move_char_right" ]
"B" = [ ":insert-output /bin/echo -n ⌈", "move_char_right" ]
"t" = [ ":insert-output /bin/echo -n ∧", "move_char_right" ]
"v" = [ ":insert-output /bin/echo -n ∨", "move_char_right" ]
"~" = [ ":insert-output /bin/echo -n ¬", "move_char_right" ]
"<" = [ ":insert-output /bin/echo -n ≤", "move_char_right" ]
">" = [ ":insert-output /bin/echo -n ≥", "move_char_right" ]
"/" = [ ":insert-output /bin/echo -n ≠", "move_char_right" ]
"m" = [ ":insert-output /bin/echo -n ≡", "move_char_right" ]
"M" = [ ":insert-output /bin/echo -n ≢", "move_char_right" ]
"{" = [ ":insert-output /bin/echo -n ⊣", "move_char_right" ]
"}" = [ ":insert-output /bin/echo -n ⊢", "move_char_right" ]
"z" = [ ":insert-output /bin/echo -n ⥊", "move_char_right" ]
"," = [ ":insert-output /bin/echo -n ∾", "move_char_right" ]
"." = [ ":insert-output /bin/echo -n ≍", "move_char_right" ]
"Z" = [ ":insert-output /bin/echo -n ⋈", "move_char_right" ]
"r" = [ ":insert-output /bin/echo -n ↑", "move_char_right" ]
"c" = [ ":insert-output /bin/echo -n ↓", "move_char_right" ]
"d" = [ ":insert-output /bin/echo -n ↕", "move_char_right" ]
"H" = [ ":insert-output /bin/echo -n «", "move_char_right" ]
"L" = [ ":insert-output /bin/echo -n »", "move_char_right" ]
"q" = [ ":insert-output /bin/echo -n ⌽", "move_char_right" ]
"a" = [ ":insert-output /bin/echo -n ⍉", "move_char_right" ]
"T" = [ ":insert-output /bin/echo -n ⍋", "move_char_right" ]
"V" = [ ":insert-output /bin/echo -n ⍒", "move_char_right" ]
"i" = [ ":insert-output /bin/echo -n ⊏", "move_char_right" ]
"I" = [ ":insert-output /bin/echo -n ⊑", "move_char_right" ]
"o" = [ ":insert-output /bin/echo -n ⊐", "move_char_right" ]
"O" = [ ":insert-output /bin/echo -n ⊒", "move_char_right" ]
"e" = [ ":insert-output /bin/echo -n ∊", "move_char_right" ]
"E" = [ ":insert-output /bin/echo -n ⍷", "move_char_right" ]
"u" = [ ":insert-output /bin/echo -n ⊔", "move_char_right" ]
"(" = [ ":insert-output /bin/echo -n ⟨", "move_char_right" ]
"0" = [ ":insert-output /bin/echo -n •", "move_char_right" ]
")" = [ ":insert-output /bin/echo -n ⟩", "move_char_right" ]
"[" = [ ":insert-output /bin/echo -n ←", "move_char_right" ]
";" = [ ":insert-output /bin/echo -n ⋄", "move_char_right" ]
":" = [ ":insert-output /bin/echo -n ·", "move_char_right" ]
"'" = [ ":insert-output /bin/echo -n ↩", "move_char_right" ]
"?" = [ ":insert-output /bin/echo -n ⇐", "move_char_right" ]
space = [ ":insert-output /bin/echo -n ‿", "move_char_right" ]
"9" = [ ":insert-output /bin/echo -n ¯", "move_char_right" ]
"8" = [ ":insert-output /bin/echo -n ∞", "move_char_right" ]
"p" = [ ":insert-output /bin/echo -n π", "move_char_right" ]
# 1-Modifier
"\"" = [ ":insert-output /bin/echo -n ˙", "move_char_right" ]
"`" = [ ":insert-output /bin/echo -n ˜", "move_char_right" ]
"1" = [ ":insert-output /bin/echo -n ˘", "move_char_right" ]
"2" = [ ":insert-output /bin/echo -n ¨", "move_char_right" ]
"4" = [ ":insert-output /bin/echo -n ⌜", "move_char_right" ]
"3" = [ ":insert-output /bin/echo -n ⁼", "move_char_right" ]
"5" = [ ":insert-output /bin/echo -n ´", "move_char_right" ]
"6" = [ ":insert-output /bin/echo -n ˝", "move_char_right" ]
# 2-Modifier
"j" = [ ":insert-output /bin/echo -n ∘", "move_char_right" ]
"k" = [ ":insert-output /bin/echo -n ○", "move_char_right" ]
"h" = [ ":insert-output /bin/echo -n ⊸", "move_char_right" ]
"l" = [ ":insert-output /bin/echo -n ⟜", "move_char_right" ]
"K" = [ ":insert-output /bin/echo -n ⌾", "move_char_right" ]
"%" = [ ":insert-output /bin/echo -n ⊘", "move_char_right" ]
"$" = [ ":insert-output /bin/echo -n ◶", "move_char_right" ]
"^" = [ ":insert-output /bin/echo -n ⎊", "move_char_right" ]
"!" = [ ":insert-output /bin/echo -n ⎉", "move_char_right" ]
"@" = [ ":insert-output /bin/echo -n ⚇", "move_char_right" ]
"#" = [ ":insert-output /bin/echo -n ⍟", "move_char_right" ]
# about block
"w" = [ ":insert-output /bin/echo -n 𝕨", "move_char_right" ]
"W" = [ ":insert-output /bin/echo -n 𝕎", "move_char_right" ]
"s" = [ ":insert-output /bin/echo -n 𝕤", "move_char_right" ]
"S" = [ ":insert-output /bin/echo -n 𝕊", "move_char_right" ]
"x" = [ ":insert-output /bin/echo -n 𝕩", "move_char_right" ]
"X" = [ ":insert-output /bin/echo -n 𝕏", "move_char_right" ]
"f" = [ ":insert-output /bin/echo -n 𝕗", "move_char_right" ]
"F" = [ ":insert-output /bin/echo -n 𝔽", "move_char_right" ]
"g" = [ ":insert-output /bin/echo -n 𝕘", "move_char_right" ]
"G" = [ ":insert-output /bin/echo -n 𝔾", "move_char_right" ]
"R" = [ ":insert-output /bin/echo -n 𝕣", "move_char_right" ]