Browse Source

Add html org snippet, remove trailing newline from snippets

master
Riyyi 4 years ago
parent
commit
f9d57781d5
  1. 2
      .emacs.d/snippets/c++-mode/constructor
  2. 2
      .emacs.d/snippets/c++-mode/destructor
  3. 2
      .emacs.d/snippets/c++-mode/fun_implementation
  4. 2
      .emacs.d/snippets/c++-mode/guard
  5. 2
      .emacs.d/snippets/c++-mode/include
  6. 2
      .emacs.d/snippets/c++-mode/namespace
  7. 2
      .emacs.d/snippets/c++-mode/separator
  8. 2
      .emacs.d/snippets/fundamental-mode/mode
  9. 2
      .emacs.d/snippets/latex-mode/begin
  10. 2
      .emacs.d/snippets/latex-mode/href
  11. 2
      .emacs.d/snippets/latex-mode/hyperref
  12. 2
      .emacs.d/snippets/latex-mode/textit
  13. 2
      .emacs.d/snippets/latex-mode/underline
  14. 4
      .emacs.d/snippets/org-mode/el
  15. 5
      .emacs.d/snippets/org-mode/html
  16. 2
      .emacs.d/snippets/org-mode/source

2
.emacs.d/snippets/c++-mode/constructor

@ -5,4 +5,4 @@
${1:Name}::$1(${2:args}) ${3: : ${4:init}}
{
$0
}
}

2
.emacs.d/snippets/c++-mode/destructor

@ -5,4 +5,4 @@
${1:Name}::~$1()
{
$0
}
}

2
.emacs.d/snippets/c++-mode/fun_implementation

@ -5,4 +5,4 @@
${1:type} ${2:name}(${3:args})${4: const}
{
$0
}
}

2
.emacs.d/snippets/c++-mode/guard

@ -7,4 +7,4 @@
$0
#endif // ${1:$(yas-c++-class-name yas-text)}_H
#endif // ${1:$(yas-c++-class-name yas-text)}_H

2
.emacs.d/snippets/c++-mode/include

@ -2,4 +2,4 @@
# name: include
# key: i
# --
#include $0
#include $0

2
.emacs.d/snippets/c++-mode/namespace

@ -6,4 +6,4 @@ namespace ${1:Namespace} {
$0
}
}

2
.emacs.d/snippets/c++-mode/separator

@ -2,4 +2,4 @@
# name: separator
# key: spr
# --
// -----------------------------------------$0
// -----------------------------------------$0

2
.emacs.d/snippets/fundamental-mode/mode

@ -2,4 +2,4 @@
# name: mode
# key: <mode
# --
# -*- mode: ${1:conf} -*-
# -*- mode: ${1:conf} -*-

2
.emacs.d/snippets/latex-mode/begin

@ -4,4 +4,4 @@
# --
\begin{${1:environment}}
$0
\end{$1}
\end{$1}

2
.emacs.d/snippets/latex-mode/href

@ -2,4 +2,4 @@
# name: href
# key: h
# --
\href{${1:src}}{${2:a}}$0
\href{${1:src}}{${2:a}}$0

2
.emacs.d/snippets/latex-mode/hyperref

@ -2,4 +2,4 @@
# name: hyperref
# key: hy
# --
\hyperref[sec:${1:name}]{${2:a}}$0
\hyperref[sec:${1:name}]{${2:a}}$0

2
.emacs.d/snippets/latex-mode/textit

@ -2,4 +2,4 @@
# name: textit
# key: i
# --
\textit{$1}$0
\textit{$1}$0

2
.emacs.d/snippets/latex-mode/underline

@ -2,4 +2,4 @@
# name: underline
# key: u
# --
\underline{$1}$0
\underline{$1}$0

4
.emacs.d/snippets/org-mode/el

@ -1,7 +1,7 @@
# -*- mode: snippet -*-
# name: elisp
# name: elisp-copy
# key: <el
# --
#+BEGIN_SRC emacs-lisp
$0
#+END_SRC
#+END_SRC

5
.emacs.d/snippets/org-mode/html

@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: html
# key: <html
# --
@@html:<${1:tag}>@@$0

2
.emacs.d/snippets/org-mode/source

@ -4,4 +4,4 @@
# --
#+BEGIN_SRC ${1:language}
$0
#+END_SRC
#+END_SRC
Loading…
Cancel
Save