dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit cd91e92d161d6c1eac90afe0444aeb0bf30dcf41
parent 317643a8c188e4e18b12516bdf43e87e1dbf897b
Author: Alex Balgavy <alex@balgavy.eu>
Date:   Mon, 15 Feb 2021 10:28:19 +0100

vim: improve tex ultisnips

Diffstat:
Mvim/ultisnips/tex.snippets | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/vim/ultisnips/tex.snippets b/vim/ultisnips/tex.snippets @@ -183,7 +183,7 @@ endsnippet snippet fig "Figure" b \begin{figure}[h] \centering - \includegraphics[scale=0.5]{${1:/path/to/file}} + \includegraphics[width=\textwidth]{${1:/path/to/file}} \caption{${2:caption}} \label{fig:${3:internal reference}} \end{figure} @@ -227,6 +227,10 @@ snippet b "bold text" w \textbf{$1} endsnippet +snippet pre "preformatted text" w +\texttt{$1} +endsnippet + snippet " "quote" wA \`\`$1''$0 endsnippet