Skip to content

Instantly share code, notes, and snippets.

@sirjofri sirjofri/digraphs.ahk
Last active Oct 14, 2018

Embed
What would you like to do?
AutoHotKey vim digraphs
#SingleInstance force
digraph_mode := false
#<::
digraph_mode := !digraph_mode
return
#If digraph_mode = true
:*?C:-N::
Send, –
digraph_mode := false
return
:*?C:-M::
Send, —
digraph_mode := false
return
:*?C:NS::
:*?C:Co::
Send, ©
digraph_mode := false
return
:*?C:.M::
Send, ·
digraph_mode := false
return
:*?C:>>::
Send, »
digraph_mode := false
return
:*?C:*X::×
digraph_mode := false
return
:*?C:1N::
Send,  
digraph_mode := false
return
:*?C:1M::
Send,  
digraph_mode := false
return
:*?C:3M::
Send,  
digraph_mode := false
return
:*?C:4M::
Send,  
digraph_mode := false
return
:*?C:6M::
Send,  
digraph_mode := false
return
:*?C:1T::
Send,  
digraph_mode := false
return
:*?C:1H::
Send,  
digraph_mode := false
return
:*?C:-3::
Send, ―
digraph_mode := false
return
:*?C:'6::
Send, ‘
digraph_mode := false
return
:*?C:'9::
Send, ’
digraph_mode := false
return
:*?C:.9::
Send, ‚
digraph_mode := false
return
:*?C:9'::
Send, ‛
digraph_mode := false
return
:*?C:"6::
Send, “
digraph_mode := false
return
:*?C:"9::
Send, ”
digraph_mode := false
return
:*?C:`:9::
Send, „
digraph_mode := false
return
:*?C:9"::
Send, ‟
digraph_mode := false
return
:*?C:/-::
Send, †
digraph_mode := false
return
:*?C:/=::
Send, ‡
digraph_mode := false
return
:*?C:..::
Send, ‥
digraph_mode := false
return
:*?C:,.::
Send, …
digraph_mode := false
return
:*?C:%0::
Send, ‰
digraph_mode := false
return
:*?C:`:X::
Send, ※
digraph_mode := false
return
:*?C:oC::
Send, ℃
digraph_mode := false
return
:*?C:N0::
Send, №
digraph_mode := false
return
:*?C:TM::
Send, ™
digraph_mode := false
return
:*?C:Om::
Send, Ω
digraph_mode := false
return
:*?C:<-::
Send, ←
digraph_mode := false
return
:*?C:-!::
Send, ↑
digraph_mode := false
return
:*?C:->::
Send, →
digraph_mode := false
return
:*?C:-v::
Send, ↓
digraph_mode := false
return
:*?C:<>::
Send, ↔
digraph_mode := false
return
:*?C:UD::
Send, ↕
digraph_mode := false
return
:*?C:<=::
Send, ⇐
digraph_mode := false
return
:*?C:=>::
Send, ⇒
digraph_mode := false
return
:*?C:==::
Send, ⇔
digraph_mode := false
return
:*?C:`:3::
Send, ⋮
digraph_mode := false
return
:*?C:.3::
Send, ⋯
digraph_mode := false
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.