Add files
This commit is contained in:
commit
fc685a4f43
12 changed files with 308 additions and 0 deletions
8
snippets/css-mode/bbox
Normal file
8
snippets/css-mode/bbox
Normal file
|
@ -0,0 +1,8 @@
|
|||
# name: border-box
|
||||
# key: bbox
|
||||
# --
|
||||
*, *::before, *::after {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
$0
|
14
snippets/html-mode/skel
Normal file
14
snippets/html-mode/skel
Normal file
|
@ -0,0 +1,14 @@
|
|||
# name: html-skeleton
|
||||
# key: skel
|
||||
# --
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>${1:Title}</title>
|
||||
</head>
|
||||
<body>
|
||||
$0
|
||||
</body>
|
||||
</html>
|
6
snippets/latex-mode/enum
Normal file
6
snippets/latex-mode/enum
Normal file
|
@ -0,0 +1,6 @@
|
|||
# name: enumerate
|
||||
# key: enum
|
||||
# --
|
||||
\begin{enumerate}
|
||||
\item $0
|
||||
\end{enumerate}
|
7
snippets/latex-mode/fr
Normal file
7
snippets/latex-mode/fr
Normal file
|
@ -0,0 +1,7 @@
|
|||
# name: frame
|
||||
# key: fr
|
||||
# --
|
||||
\begin{frame}
|
||||
\frametitle{$1}
|
||||
$0
|
||||
\end{frame}
|
13
snippets/latex-mode/hdrs
Normal file
13
snippets/latex-mode/hdrs
Normal file
|
@ -0,0 +1,13 @@
|
|||
# name: latex-headers
|
||||
# key: hdrs
|
||||
# --
|
||||
\documentclass{article}
|
||||
|
||||
\input{$HOME/Documents/drive/res/latex-headers-templates/headers/standard}
|
||||
% \input{$HOME/Documents/drive/res/latex-headers-templates/headers/bibsetup}
|
||||
|
||||
\begin{document}
|
||||
|
||||
$0
|
||||
|
||||
\end{document}
|
6
snippets/latex-mode/item
Normal file
6
snippets/latex-mode/item
Normal file
|
@ -0,0 +1,6 @@
|
|||
# name: itemize
|
||||
# key: item
|
||||
# --
|
||||
\begin{itemize}
|
||||
\item $0
|
||||
\end{itemize}
|
6
snippets/org-mode/time
Normal file
6
snippets/org-mode/time
Normal file
|
@ -0,0 +1,6 @@
|
|||
# name: insert-time
|
||||
# key: time
|
||||
# type: command
|
||||
# binding: C-x t
|
||||
# --
|
||||
(insert (format-time-string "%H:%M"))
|
5
snippets/python-mode/ifmain
Normal file
5
snippets/python-mode/ifmain
Normal file
|
@ -0,0 +1,5 @@
|
|||
# name: if-main-py
|
||||
# key: ifmain
|
||||
# --
|
||||
if __name__ == "__main__":
|
||||
$0
|
6
snippets/sh-mode/bang
Normal file
6
snippets/sh-mode/bang
Normal file
|
@ -0,0 +1,6 @@
|
|||
# name: shebang
|
||||
# key: !
|
||||
# --
|
||||
#!/usr/bin/env bash
|
||||
|
||||
$0
|
Loading…
Add table
Add a link
Reference in a new issue