From ad747a44b7e37465a1d853e51fdf5f83b919c8fb Mon Sep 17 00:00:00 2001 From: Phani Pavan K Date: Wed, 17 Dec 2025 11:33:05 +0530 Subject: [PATCH] added tab jumping for qol --- snippets/latex.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/snippets/latex.json b/snippets/latex.json index f73a128..a40162e 100644 --- a/snippets/latex.json +++ b/snippets/latex.json @@ -1,7 +1,7 @@ { "Figure": { "prefix": "fig", - "body":"\\begin{figure}[htp!]\n \\centering\n \\includegraphics[width=1\\linewidth]{${1:fig_path}}\n \\caption{${2:caption}}\n \\label{fig:${3:label}}\n\\end{figure}", + "body":"\\begin{figure}[htp!]\n \\centering\n \\includegraphics[width=1\\linewidth]{${1:fig_path}}\n \\caption{${2:caption}}\n \\label{fig:${3:label}}\n\\end{figure}\n${4:end}", "description": "Inserts a figure", }, @@ -42,12 +42,12 @@ }, "Citation": { "prefix": "cit", - "body": "~\\cite{${1:citation}}", + "body": "${2:delSpace}~\\cite{${1:citation}} ${3:continue}", "description": "Adds the Cite command" }, "Reference": { "prefix": "ref", - "body": "~\\ref{${1:citation}}", + "body": "${2:delSpace}~\\ref{${1:citation}} ${3:continue}", "description": "Adds the Ref command" }, }