Edit neovim snippets
This commit is contained in:
parent
9a018c8485
commit
53894a5724
11 changed files with 129 additions and 88 deletions
home/features/neovim/snippets
|
@ -9,3 +9,4 @@ block auto
|
|||
abbr sim ∼
|
||||
abbr approx ≃
|
||||
abbr cong ≅
|
||||
abbr fcomp ∘
|
||||
|
|
|
@ -87,9 +87,12 @@ block text
|
|||
string $
|
||||
name inline math
|
||||
snip \$$1\$$0
|
||||
-- }}}
|
||||
|
||||
abbr pause \pause
|
||||
-- }}}
|
||||
string emph
|
||||
desc emphasise some text
|
||||
snip \emph{$1}$0
|
||||
|
||||
string forcecr
|
||||
desc Force the content onto a new line
|
||||
|
@ -271,7 +274,7 @@ block math
|
|||
for noperator <- @⟨ordop,land,lor,equiv,pmod,ldots,cdots,perp,angle,sup⟩
|
||||
abbr @noperator \\@noperator
|
||||
|
||||
for operator <- @⟨cancel,overline,hat,tilde,vec,bar,abs,norm,prob,diprod,sin,cos,sqrt,ln,lrb,zmod,gen,pmob⟩
|
||||
for operator <- @⟨cancel,overline,hat,tilde,vec,bar,abs,norm,prob,diprod,sin,cos,sqrt,lrb,zmod,gen,pmob⟩
|
||||
string @operator
|
||||
snip \\@operator$|1⟨{$1}, $0⟩
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ block auto
|
|||
name limit to @limtarget
|
||||
snip lim_($1 → @limtargetsymbol) $0
|
||||
|
||||
for operator <- @⟨eq,neq,defas,leq,geq,lt,gt,iip,iib,iff⟩
|
||||
for operator <- @⟨eq,neq,defas,leq,geq,llt,ggt,iip,iib,iff⟩
|
||||
for symbol <- @⟨@operator:=,≠,≔,≤,≥,<,>,⟹,⟸,⟺⟩
|
||||
|
||||
abbr @operator @symbol
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue