emacs: yasnippet: use shorter s & ss keys for section & subsection
authorAmin Bandali <bandali@gnu.org>
Thu, 14 Nov 2019 01:49:40 +0000 (20:49 -0500)
committerAmin Bandali <bandali@gnu.org>
Thu, 14 Nov 2019 01:49:40 +0000 (20:49 -0500)
.emacs.d/etc/yasnippet/snippets/latex-mode/section
.emacs.d/etc/yasnippet/snippets/latex-mode/subsection

index 88faeab..e1a2710 100644 (file)
@@ -1,6 +1,6 @@
 # -*- mode: snippet -*-
 # name: section
 # -*- mode: snippet -*-
 # name: section
-# key: sec
+# key: s
 # --
 \section{${1:name}}
 \label{sec:${2:label}}
 # --
 \section{${1:name}}
 \label{sec:${2:label}}
index 0bb1c5b..043f322 100644 (file)
@@ -1,6 +1,6 @@
 # -*- mode: snippet -*-
 # name: subsection
 # -*- mode: snippet -*-
 # name: subsection
-# key: ssec
+# key: ss
 # --
 \subsection{${1:name}}
 \label{subsec:${2:label}}
 # --
 \subsection{${1:name}}
 \label{subsec:${2:label}}