diff --git a/emacs/.emacs b/emacs/.emacs index 832df3c..cb61005 100644 --- a/emacs/.emacs +++ b/emacs/.emacs @@ -14,6 +14,10 @@ (height . 40) )) +(defun silence () + (interactive)) + + (push '("melpa" . "http://melpa.milkbox.net/packages/") package-archives) (custom-set-variables @@ -127,7 +131,9 @@ (evil-mode 1) (setq evil-ex-substitute-global t) (define-key evil-normal-state-map "/" 'swiper) - (setq-default evil-cross-lines t)) +(define-key evil-motion-state-map [down-mouse-1] 'silence) +(define-key evil-motion-state-map [mouse-1] 'silence) +(setq-default evil-cross-lines t)) ;; Auto-Complete (use-package auto-complete diff --git a/emacs/.emacs.d/snippets/latex-mode/beamer-frame b/emacs/.emacs.d/snippets/latex-mode/beamer-frame new file mode 100644 index 0000000..934c9d2 --- /dev/null +++ b/emacs/.emacs.d/snippets/latex-mode/beamer-frame @@ -0,0 +1,8 @@ +# key: frame +# name: beamer-frame +# -- +% frame $1 +\begin{frame} + \frametitle*{${1:frametitle}} + $0 +\end{frame} diff --git a/emacs/.emacs.d/snippets/latex-mode/itemize b/emacs/.emacs.d/snippets/latex-mode/itemize index befcb96..61e0e56 100644 --- a/emacs/.emacs.d/snippets/latex-mode/itemize +++ b/emacs/.emacs.d/snippets/latex-mode/itemize @@ -3,8 +3,6 @@ # key: item # -- \begin{itemize} - \item $1 $0 - \end{itemize} \ No newline at end of file