From 48e104098cd8dda892d267b06603cbc997160e29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Sat, 12 Dec 2020 22:23:14 +0100 Subject: [PATCH] Updated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcin Woźniak --- .emacs.d/init.el | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 1398962..e2cbaa1 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -46,6 +46,7 @@ (add-hook 'org-mode-hook '(lambda () (setq fill-column 80))) (add-hook 'org-mode-hook 'auto-fill-mode) +(add-hook 'org-mode-hook 'turn-on-flyspell) ;; Broswer (setq browse-url-browser-function 'browse-url-generic @@ -91,7 +92,7 @@ (global-set-key (kbd "M-") 'move-text-up) (global-set-key (kbd "M-") 'move-text-down) - + ;; AutoComlete (use-package auto-complete :ensure t @@ -150,6 +151,7 @@ (define-key flymake-mode-map (kbd "M-n") 'flymake-goto-next-error) (define-key flymake-mode-map (kbd "M-p") 'flymake-goto-prev-error) +;; Ruby (require 'robe) (add-hook 'ruby-mode-hook 'robe-mode) (add-hook 'robe-mode-hook 'ac-robe-setup) @@ -157,6 +159,15 @@ (require 'flymake-ruby) (add-hook 'ruby-mode-hook 'flymake-ruby-load) +;; Docker +(use-package dockerfile-mode + :defer t) + +;; YAML +(use-package yaml-mode + :mode "\\.yml\\'") +(add-hook 'yaml-mode-hook 'flymake-yaml-load) + ;; Git (global-set-key (kbd "C-x g") 'magit-status) @@ -180,6 +191,10 @@ ;;; --- Look & Feel --- +;; Zoom in/out. +(global-set-key (kbd "M-+") 'text-scale-increase) +(global-set-key (kbd "M--") 'text-scale-decrease) + ;; no toolbar: (tool-bar-mode -1)