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}
|
\end{$1}
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
|
snippet sec "Section" b
|
||||||
|
\section{$1}
|
||||||
|
endsnippet
|
||||||
|
|
||||||
snippet mk "InlineMath" wA
|
snippet mk "InlineMath" wA
|
||||||
$${1}$`!p
|
$${1}$`!p
|
||||||
if t[2] and t[2][0] not in [',', '.', '?', '-', ' ']:
|
if t[2] and t[2][0] not in [',', '.', '?', '-', ' ']:
|
||||||
@@ -49,6 +53,6 @@ snippet corr "Correct"
|
|||||||
\textcolor{red}{$1}
|
\textcolor{red}{$1}
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet pm "Parenthesied matrix" A
|
snippet pm "Parenthesied matrix"
|
||||||
\begin{pmatrix}$1\end{pmatrix}
|
\begin{pmatrix}$1\end{pmatrix}
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|||||||
@@ -53,7 +53,8 @@ set cc=80
|
|||||||
set tw=792034
|
set tw=792034
|
||||||
set background=dark
|
set background=dark
|
||||||
set clipboard=unnamedplus
|
set clipboard=unnamedplus
|
||||||
set expandtab
|
" Tabs instead of spaces
|
||||||
|
set noexpandtab
|
||||||
set tabstop=2
|
set tabstop=2
|
||||||
set shiftwidth=2
|
set shiftwidth=2
|
||||||
set mouse=a
|
set mouse=a
|
||||||
|
|||||||
Reference in New Issue
Block a user