2026-03-11T12:58:15
This commit is contained in:
@@ -1 +0,0 @@
|
||||
/home/username/.emacs.d/.local/straight/repos/snippets/fundamental-mode/time
|
||||
@@ -1 +0,0 @@
|
||||
/home/username/.emacs.d/.local/straight/repos/snippets/latex-mode/cite
|
||||
@@ -1 +0,0 @@
|
||||
/home/username/.emacs.d/.local/straight/repos/snippets/latex-mode/newglossaryentry
|
||||
6
private-snippets/LaTeX-mode/acrfull
Normal file
6
private-snippets/LaTeX-mode/acrfull
Normal file
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: \acrfull{}
|
||||
# key: af
|
||||
# uuid: af
|
||||
# --
|
||||
\acrfull{$1}$0
|
||||
6
private-snippets/LaTeX-mode/acrlong
Normal file
6
private-snippets/LaTeX-mode/acrlong
Normal file
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: \acrlong{}
|
||||
# key: al
|
||||
# uuid: al
|
||||
# --
|
||||
\acrlong{$1}$0
|
||||
6
private-snippets/LaTeX-mode/acrshort
Normal file
6
private-snippets/LaTeX-mode/acrshort
Normal file
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: \acrshort{}
|
||||
# key: as
|
||||
# uuid: as
|
||||
# --
|
||||
\acrshort{$1}$0
|
||||
8
private-snippets/LaTeX-mode/alertblock
Normal file
8
private-snippets/LaTeX-mode/alertblock
Normal file
@@ -0,0 +1,8 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: alertblock
|
||||
# key: abl
|
||||
# uuid: abl
|
||||
# --
|
||||
\begin{alertblock}{$2}
|
||||
${0:`%`}
|
||||
\end{alertblock}
|
||||
7
private-snippets/LaTeX-mode/chapter
Normal file
7
private-snippets/LaTeX-mode/chapter
Normal file
@@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: \chapter{} \label{}
|
||||
# key: cl
|
||||
# uuid: cl
|
||||
# --
|
||||
\chapter{$1} \label{$1}
|
||||
$0
|
||||
7
private-snippets/LaTeX-mode/cite
Normal file
7
private-snippets/LaTeX-mode/cite
Normal file
@@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: cite
|
||||
# key: c
|
||||
# uuid: c
|
||||
# condition: (not (save-restriction (widen) (texmathp)))
|
||||
# --
|
||||
\cite{$1} $0
|
||||
8
private-snippets/LaTeX-mode/citepage
Normal file
8
private-snippets/LaTeX-mode/citepage
Normal file
@@ -0,0 +1,8 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: cite with page
|
||||
# uuid: cp
|
||||
# key: cp
|
||||
# condition: t
|
||||
# --
|
||||
|
||||
\cite[S. $2]{$1} $0
|
||||
9
private-snippets/LaTeX-mode/newglossaryentry
Normal file
9
private-snippets/LaTeX-mode/newglossaryentry
Normal file
@@ -0,0 +1,9 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: newglossaryentry
|
||||
# key: gl
|
||||
# uuid: gl
|
||||
# --
|
||||
\newglossaryentry{${1}}{
|
||||
name=${1:$(capitalize yas-text)},
|
||||
description={${3}}
|
||||
}
|
||||
7
private-snippets/LaTeX-mode/qq
Normal file
7
private-snippets/LaTeX-mode/qq
Normal file
@@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: quotes
|
||||
# uuid: qq
|
||||
# key: qq
|
||||
# condition: t
|
||||
# --
|
||||
\glqq $1\grqq{} $0
|
||||
6
private-snippets/fundamental-mode/time
Normal file
6
private-snippets/fundamental-mode/time
Normal file
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: (current time)
|
||||
# key: time
|
||||
# uuid: time
|
||||
# --
|
||||
`(format-time-string "%Y-%m-%dT%H:%M:%S" (current-time))`
|
||||
Reference in New Issue
Block a user