From 6e2a3a5962b91cc21582c72d1f603d5b1fb109ee Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Tue, 12 Jul 2016 11:13:46 +0200 Subject: emacs: added disable-mouse, sass-mode & yaml-mode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- emacs/init.el | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'emacs') diff --git a/emacs/init.el b/emacs/init.el index 9d0c98e..b9f7ee0 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -394,6 +394,12 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer." (use-package rainbow-delimiters :ensure t) +;; Disable all mouse interactions +(use-package disable-mouse + :ensure t + :config + (global-disable-mouse-mode)) + ;; I heard you could have Twitter in Emacs, so let's roll with it. (use-package twittering-mode :ensure t @@ -521,6 +527,21 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer." (use-package slim-mode :ensure t) +; YAML +(use-package yaml-mode + :ensure t + :config + + (add-hook 'yaml-mode-hook 'warnings-mode-hook)) + +; SASS/SCSS +(use-package scss-mode + :ensure t + :config + + (setq scss-compile-at-save nil) + (add-hook 'yaml-mode-hook 'warnings-mode-hook)) + ; Apply purple function identifiers to all these languages. (dolist (lang-hook '(ruby-mode-hook php-mode-hook -- cgit v1.2.3