Mehr emacs kram: mouse deaktiviert und 2 snippets

This commit is contained in:
madmaurice 2017-06-15 12:04:19 +02:00
parent d287d732f7
commit 06b382d4bf
3 changed files with 15 additions and 3 deletions

View file

@ -14,6 +14,10 @@
(height . 40) (height . 40)
)) ))
(defun silence ()
(interactive))
(push '("melpa" . "http://melpa.milkbox.net/packages/") package-archives) (push '("melpa" . "http://melpa.milkbox.net/packages/") package-archives)
(custom-set-variables (custom-set-variables
@ -127,6 +131,8 @@
(evil-mode 1) (evil-mode 1)
(setq evil-ex-substitute-global t) (setq evil-ex-substitute-global t)
(define-key evil-normal-state-map "/" 'swiper) (define-key evil-normal-state-map "/" 'swiper)
(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)) (setq-default evil-cross-lines t))
;; Auto-Complete ;; Auto-Complete

View file

@ -0,0 +1,8 @@
# key: frame
# name: beamer-frame
# --
% frame $1
\begin{frame}
\frametitle*{${1:frametitle}}
$0
\end{frame}

View file

@ -3,8 +3,6 @@
# key: item # key: item
# -- # --
\begin{itemize} \begin{itemize}
\item $1 \item $1
$0 $0
\end{itemize} \end{itemize}