aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2021-12-07 08:05:26 -0500
committerGitHub <noreply@github.com>2021-12-07 08:05:26 -0500
commit9ee86c2f45b2fb2fc538062ca0cc2c6a2804ae3b (patch)
tree13a4617489eab36c4198f408af33677b9bd4bb9d
parentbfb89d64badd6bc3b106a277ceb952d9b60baf8b (diff)
parent2a0faacaeb6ab84325b4edd80ecf6be1fb118ae6 (diff)
Merge pull request #46 from dancek/vim-help
vim: add help file containing keymap
-rw-r--r--editors/vim/doc/bqn.txt36
-rw-r--r--editors/vim/doc/tags3
2 files changed, 39 insertions, 0 deletions
diff --git a/editors/vim/doc/bqn.txt b/editors/vim/doc/bqn.txt
new file mode 100644
index 00000000..addcebd5
--- /dev/null
+++ b/editors/vim/doc/bqn.txt
@@ -0,0 +1,36 @@
+*bqn.txt* BQN language support
+
+Author: Marshall Lochbaum and contributors
+License: ISC License
+Repository: https://github.com/mlochbaum/BQN
+
+INTRODUCTION *bqn*
+
+This plugin provides syntax highlighting and a keymap
+for the BQN programming language. For more information
+about the language, see
+https://mlochbaum.github.io/BQN/
+
+KEYMAP *bqn-keymap*
+
+The plugin sets the following keymap when editing BQN
+files, such that the upper symbol is <Leader><key> and
+the lower symbol is <Leader><Shift-key>.
+
+`˜ 1˘ 2¨ 3⁼ 4⌜ 5´ 6˝ 77 8∞ 9¯ 0• -÷ =×
+ ¬ ⎉ ⚇ ⍟ ◶ ⊘ ⎊ ⍎ ⍕ ⟨ ⟩ √ ⋆
+
+ q⌽ w𝕨 e∊ r↑ t∧ yy u⊔ i⊏ o⊐ pπ [← ]→
+ ↙ 𝕎 ⍷ 𝕣 ⍋ Y U ⊑ ⊒ ⍳ ⊣ ⊢
+
+ a⍉ s𝕤 d↕ f𝕗 g𝕘 h⊸ j∘ k○ l⟜ ;⋄ '↩ \\
+ ↖ 𝕊 D 𝔽 𝔾 « J ⌾ » · ˙ |
+
+ z⥊ x𝕩 c↓ v∨ b⌊ nn m≡ ,∾ .≍ /≠
+ ⋈ 𝕏 C ⍒ ⌈ N ≢ ≤ ≥ ⇐
+
+A condensed version:
+ ˜˘¨⁼⌜´˝7∞¯•÷× ¬⎉⚇⍟◶⊘⎊⍎⍕⟨⟩√⋆
+ ⌽𝕨∊↑∧y⊔⊏⊐π←→ ↙𝕎⍷𝕣⍋YU⊑⊒⍳⊣⊢
+ ⍉𝕤↕𝕗𝕘⊸∘○⟜⋄↩\ ↖𝕊D𝔽𝔾«J⌾»·˙|
+ ⥊𝕩↓∨⌊n≡∾≍≠ ⋈𝕏C⍒⌈N≢≤≥⇐
diff --git a/editors/vim/doc/tags b/editors/vim/doc/tags
new file mode 100644
index 00000000..b4c8f659
--- /dev/null
+++ b/editors/vim/doc/tags
@@ -0,0 +1,3 @@
+bqn bqn.txt /*bqn*
+bqn-keymap bqn.txt /*bqn-keymap*
+bqn.txt bqn.txt /*bqn.txt*