From: Amin Bandali Date: Thu, 14 Nov 2019 01:49:40 +0000 (-0500) Subject: emacs: yasnippet: use shorter s & ss keys for section & subsection X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/30b5e6f0416b7ca2a71e52b3850d91e55867fd61?ds=sidebyside;hp=295b1b10b673f0fed28915b16e6d86931bc2f326 emacs: yasnippet: use shorter s & ss keys for section & subsection --- diff --git a/.emacs.d/etc/yasnippet/snippets/latex-mode/section b/.emacs.d/etc/yasnippet/snippets/latex-mode/section index 88faeab..e1a2710 100644 --- a/.emacs.d/etc/yasnippet/snippets/latex-mode/section +++ b/.emacs.d/etc/yasnippet/snippets/latex-mode/section @@ -1,6 +1,6 @@ # -*- mode: snippet -*- # name: section -# key: sec +# key: s # -- \section{${1:name}} \label{sec:${2:label}} diff --git a/.emacs.d/etc/yasnippet/snippets/latex-mode/subsection b/.emacs.d/etc/yasnippet/snippets/latex-mode/subsection index 0bb1c5b..043f322 100644 --- a/.emacs.d/etc/yasnippet/snippets/latex-mode/subsection +++ b/.emacs.d/etc/yasnippet/snippets/latex-mode/subsection @@ -1,6 +1,6 @@ # -*- mode: snippet -*- # name: subsection -# key: ssec +# key: ss # -- \subsection{${1:name}} \label{subsec:${2:label}}