diff options
| author | Miquel Sabaté Solà <msabate@suse.com> | 2016-07-12 11:13:46 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <msabate@suse.com> | 2016-07-12 11:13:46 +0200 |
| commit | 6e2a3a5962b91cc21582c72d1f603d5b1fb109ee (patch) | |
| tree | 49796a8eb76f6b384360218eee854c2fb885a2b1 /emacs | |
| parent | ba61dfe8b88373c3822c819bbbe49bd300e57412 (diff) | |
| download | dotfiles-6e2a3a5962b91cc21582c72d1f603d5b1fb109ee.tar.gz dotfiles-6e2a3a5962b91cc21582c72d1f603d5b1fb109ee.zip | |
emacs: added disable-mouse, sass-mode & yaml-mode
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to 'emacs')
| -rw-r--r-- | emacs/init.el | 21 |
1 files changed, 21 insertions, 0 deletions
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 |
