projects
/
~bandali
/
configs
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
move emacs files from .emacs.d to .
[~bandali/configs]
/
etc
/
yasnippet
/
snippets
/
latex-mode
/
newcommand
diff --git a/etc/yasnippet/snippets/latex-mode/newcommand
b/etc/yasnippet/snippets/latex-mode/newcommand
new file mode 100644
(file)
index 0000000..
e9e03ca
--- /dev/null
+++ b/
etc/yasnippet/snippets/latex-mode/newcommand
@@ -0,0
+1,5
@@
+# -*- mode: snippet -*-
+# name: newcommand
+# key: cmd
+# --
+\newcommand{\\${1:name}}${2:[${3:0}]}{$0}
\ No newline at end of file