aboutsummaryrefslogtreecommitdiff
path: root/editors/vim
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2020-10-08 22:39:37 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2020-10-08 22:46:21 -0400
commit07edc923d483f5eecfbaf2118aac1e09bc63e01e (patch)
tree896168fc47969f3c0f7c94f2a32acd13d2c6eb42 /editors/vim
parent11ba9341eaf65a0ac371e98e31fd66d889a9a518 (diff)
Editor support for ⇐
Diffstat (limited to 'editors/vim')
-rw-r--r--editors/vim/autoload/bqn.txt1
-rw-r--r--editors/vim/keymap/bqn.vim2
-rw-r--r--editors/vim/syntax/bqn.vim2
3 files changed, 3 insertions, 2 deletions
diff --git a/editors/vim/autoload/bqn.txt b/editors/vim/autoload/bqn.txt
index 1e63235b..af52e753 100644
--- a/editors/vim/autoload/bqn.txt
+++ b/editors/vim/autoload/bqn.txt
@@ -1,4 +1,5 @@
← Define
+⇐ Export
↩ Change
→ Return
⋄ Separator
diff --git a/editors/vim/keymap/bqn.vim b/editors/vim/keymap/bqn.vim
index 7a08aaba..a4759b0f 100644
--- a/editors/vim/keymap/bqn.vim
+++ b/editors/vim/keymap/bqn.vim
@@ -12,7 +12,7 @@ let a.='zxcvbnm,./ ZXCVBNM<>? '
let b ='˜˘¨⁼⌜´˝7∞¯•÷× ¬⎉⚇⍟◶⊘⎊⍎⍕⟨⟩√⋆'
let b.='⌽𝕨∊↑∧y⊔⊏⊐π←→ ↙𝕎⍷𝕣⍋YU⊑⊒⍳⊣⊢ '
let b.='⍉𝕤↕𝕗𝕘⊸∘○⟜⋄↩\ ↖𝕊D𝔽𝔾«J⌾»·˙| '
-let b.='⥊𝕩↓∨⌊n≡∾≍≠ Z𝕏C⍒⌈N≢≤≥? '
+let b.='⥊𝕩↓∨⌊n≡∾≍≠ Z𝕏C⍒⌈N≢≤≥⇐ '
let[a,b]=map([a,b],{i,x->split(x,'\zs *')})
let a+=['<space>']|let b+=['‿']
diff --git a/editors/vim/syntax/bqn.vim b/editors/vim/syntax/bqn.vim
index b75bbde8..9ea75a39 100644
--- a/editors/vim/syntax/bqn.vim
+++ b/editors/vim/syntax/bqn.vim
@@ -8,7 +8,7 @@ syn match bqnlst "[⟨⟩\[\]‿]"
syn match bqnpar "[()]"
syn match bqnhed "[:;]"
syn match bqnsep "[⋄,]"
-syn match bqnarw "[←↩→]"
+syn match bqnarw "[←⇐↩→]"
syn match bqnchr "'.'"
syn match bqn1md "[˙˜˘¨⌜⁼´˝`]"
syn match bqn2md "[∘○⊸⟜⌾⊘◶⎉⚇⍟⎊]"