mirror of
https://github.com/amix/vimrc
synced 2025-06-16 01:25:00 +08:00
Updated plugins, also experimenting with a new font
The font is IBM Plex Mono: https://ibm.github.io/type/
This commit is contained in:
@ -59,8 +59,7 @@ snippet desc "Description" b
|
||||
endsnippet
|
||||
|
||||
snippet it "Individual item" b
|
||||
\item $1
|
||||
$0
|
||||
\item $0
|
||||
endsnippet
|
||||
|
||||
snippet part "Part" b
|
||||
@ -146,4 +145,11 @@ endsnippet
|
||||
snippet lp "Long parenthesis"
|
||||
\left(${1:${VISUAL:contents}}\right)$0
|
||||
endsnippet
|
||||
|
||||
snippet "mint(ed)?( (\S+))?" "Minted code typeset" br
|
||||
\begin{minted}{${1:`!p
|
||||
snip.rv = match.group(3) if match.group(2) is not None else "language"`}}
|
||||
${2:${VISUAL:code}}
|
||||
\end{minted}$0
|
||||
endsnippet
|
||||
# vim:ft=snippets:
|
||||
|
Reference in New Issue
Block a user