Skip to content

Commit

Permalink
small yasnippet change
Browse files Browse the repository at this point in the history
  • Loading branch information
johnny committed Apr 28, 2012
1 parent f3c922b commit 2f967d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions custom/custom-yasnippet.el
@@ -1,7 +1,6 @@
(add-to-list 'load-path (concat dotfiles-dir "/custom/plugins/yasnippet"))
(require 'yasnippet)
(yas/initialize)
(add-to-list 'yas/snippet-dirs (concat dotfiles-dir "snippets") )
(setq yas/snippet-dirs (concat dotfiles-dir "snippets") )
(setq yas/trigger-key "SPC")
(yas/global-mode 1)

Expand Down
3 changes: 2 additions & 1 deletion snippets/latex-mode/beg
Expand Up @@ -2,5 +2,6 @@
# name: \begin{...} ...\end{}
# key: beg
# --
\begin{${1:key}} $0
\begin{${1:key}}$0

\end{$1}

0 comments on commit 2f967d9

Please sign in to comment.