Mehr emacs kram: mouse deaktiviert und 2 snippets
This commit is contained in:
parent
d287d732f7
commit
06b382d4bf
3 changed files with 15 additions and 3 deletions
|
@ -14,6 +14,10 @@
|
|||
(height . 40)
|
||||
))
|
||||
|
||||
(defun silence ()
|
||||
(interactive))
|
||||
|
||||
|
||||
(push '("melpa" . "http://melpa.milkbox.net/packages/") package-archives)
|
||||
|
||||
(custom-set-variables
|
||||
|
@ -127,6 +131,8 @@
|
|||
(evil-mode 1)
|
||||
(setq evil-ex-substitute-global t)
|
||||
(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))
|
||||
|
||||
;; Auto-Complete
|
||||
|
|
8
emacs/.emacs.d/snippets/latex-mode/beamer-frame
Normal file
8
emacs/.emacs.d/snippets/latex-mode/beamer-frame
Normal file
|
@ -0,0 +1,8 @@
|
|||
# key: frame
|
||||
# name: beamer-frame
|
||||
# --
|
||||
% frame $1
|
||||
\begin{frame}
|
||||
\frametitle*{${1:frametitle}}
|
||||
$0
|
||||
\end{frame}
|
|
@ -3,8 +3,6 @@
|
|||
# key: item
|
||||
# --
|
||||
\begin{itemize}
|
||||
|
||||
\item $1
|
||||
$0
|
||||
|
||||
\end{itemize}
|
Loading…
Reference in a new issue