Added some more shortcuts and enabled tabs by default
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
snippet --- "Debug Break"
|
||||
fmt.Println("---")
|
||||
endsnippet
|
||||
@@ -26,6 +26,10 @@ snippet beg "Begin" b
|
||||
\end{$1}
|
||||
endsnippet
|
||||
|
||||
snippet sec "Section" b
|
||||
\section{$1}
|
||||
endsnippet
|
||||
|
||||
snippet mk "InlineMath" wA
|
||||
$${1}$`!p
|
||||
if t[2] and t[2][0] not in [',', '.', '?', '-', ' ']:
|
||||
@@ -49,6 +53,6 @@ snippet corr "Correct"
|
||||
\textcolor{red}{$1}
|
||||
endsnippet
|
||||
|
||||
snippet pm "Parenthesied matrix" A
|
||||
snippet pm "Parenthesied matrix"
|
||||
\begin{pmatrix}$1\end{pmatrix}
|
||||
endsnippet
|
||||
|
||||
@@ -53,7 +53,8 @@ set cc=80
|
||||
set tw=792034
|
||||
set background=dark
|
||||
set clipboard=unnamedplus
|
||||
set expandtab
|
||||
" Tabs instead of spaces
|
||||
set noexpandtab
|
||||
set tabstop=2
|
||||
set shiftwidth=2
|
||||
set mouse=a
|
||||
|
||||
Reference in New Issue
Block a user