Add html org snippet, remove trailing newline from snippets
This commit is contained in:
@@ -5,4 +5,4 @@
|
|||||||
${1:Name}::$1(${2:args}) ${3: : ${4:init}}
|
${1:Name}::$1(${2:args}) ${3: : ${4:init}}
|
||||||
{
|
{
|
||||||
$0
|
$0
|
||||||
}
|
}
|
||||||
@@ -5,4 +5,4 @@
|
|||||||
${1:Name}::~$1()
|
${1:Name}::~$1()
|
||||||
{
|
{
|
||||||
$0
|
$0
|
||||||
}
|
}
|
||||||
@@ -5,4 +5,4 @@
|
|||||||
${1:type} ${2:name}(${3:args})${4: const}
|
${1:type} ${2:name}(${3:args})${4: const}
|
||||||
{
|
{
|
||||||
$0
|
$0
|
||||||
}
|
}
|
||||||
@@ -7,4 +7,4 @@
|
|||||||
|
|
||||||
$0
|
$0
|
||||||
|
|
||||||
#endif // ${1:$(yas-c++-class-name yas-text)}_H
|
#endif // ${1:$(yas-c++-class-name yas-text)}_H
|
||||||
@@ -2,4 +2,4 @@
|
|||||||
# name: include
|
# name: include
|
||||||
# key: i
|
# key: i
|
||||||
# --
|
# --
|
||||||
#include $0
|
#include $0
|
||||||
@@ -6,4 +6,4 @@ namespace ${1:Namespace} {
|
|||||||
|
|
||||||
$0
|
$0
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -2,4 +2,4 @@
|
|||||||
# name: separator
|
# name: separator
|
||||||
# key: spr
|
# key: spr
|
||||||
# --
|
# --
|
||||||
// -----------------------------------------$0
|
// -----------------------------------------$0
|
||||||
@@ -2,4 +2,4 @@
|
|||||||
# name: mode
|
# name: mode
|
||||||
# key: <mode
|
# key: <mode
|
||||||
# --
|
# --
|
||||||
# -*- mode: ${1:conf} -*-
|
# -*- mode: ${1:conf} -*-
|
||||||
@@ -4,4 +4,4 @@
|
|||||||
# --
|
# --
|
||||||
\begin{${1:environment}}
|
\begin{${1:environment}}
|
||||||
$0
|
$0
|
||||||
\end{$1}
|
\end{$1}
|
||||||
@@ -2,4 +2,4 @@
|
|||||||
# name: href
|
# name: href
|
||||||
# key: h
|
# key: h
|
||||||
# --
|
# --
|
||||||
\href{${1:src}}{${2:a}}$0
|
\href{${1:src}}{${2:a}}$0
|
||||||
@@ -2,4 +2,4 @@
|
|||||||
# name: hyperref
|
# name: hyperref
|
||||||
# key: hy
|
# key: hy
|
||||||
# --
|
# --
|
||||||
\hyperref[sec:${1:name}]{${2:a}}$0
|
\hyperref[sec:${1:name}]{${2:a}}$0
|
||||||
@@ -2,4 +2,4 @@
|
|||||||
# name: textit
|
# name: textit
|
||||||
# key: i
|
# key: i
|
||||||
# --
|
# --
|
||||||
\textit{$1}$0
|
\textit{$1}$0
|
||||||
@@ -2,4 +2,4 @@
|
|||||||
# name: underline
|
# name: underline
|
||||||
# key: u
|
# key: u
|
||||||
# --
|
# --
|
||||||
\underline{$1}$0
|
\underline{$1}$0
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
# -*- mode: snippet -*-
|
# -*- mode: snippet -*-
|
||||||
# name: elisp
|
# name: elisp-copy
|
||||||
# key: <el
|
# key: <el
|
||||||
# --
|
# --
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
$0
|
$0
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# name: html
|
||||||
|
# key: <html
|
||||||
|
# --
|
||||||
|
@@html:<${1:tag}>@@$0
|
||||||
@@ -4,4 +4,4 @@
|
|||||||
# --
|
# --
|
||||||
#+BEGIN_SRC ${1:language}
|
#+BEGIN_SRC ${1:language}
|
||||||
$0
|
$0
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
Reference in New Issue
Block a user