Compare commits
2 Commits
cc9022df39
...
8a9c2cd936
Author | SHA1 | Date | |
---|---|---|---|
8a9c2cd936 | |||
48e104098c |
@ -46,6 +46,7 @@
|
|||||||
|
|
||||||
(add-hook 'org-mode-hook '(lambda () (setq fill-column 80)))
|
(add-hook 'org-mode-hook '(lambda () (setq fill-column 80)))
|
||||||
(add-hook 'org-mode-hook 'auto-fill-mode)
|
(add-hook 'org-mode-hook 'auto-fill-mode)
|
||||||
|
(add-hook 'org-mode-hook 'turn-on-flyspell)
|
||||||
|
|
||||||
;; Broswer
|
;; Broswer
|
||||||
(setq browse-url-browser-function 'browse-url-generic
|
(setq browse-url-browser-function 'browse-url-generic
|
||||||
@ -150,6 +151,7 @@
|
|||||||
(define-key flymake-mode-map (kbd "M-n") 'flymake-goto-next-error)
|
(define-key flymake-mode-map (kbd "M-n") 'flymake-goto-next-error)
|
||||||
(define-key flymake-mode-map (kbd "M-p") 'flymake-goto-prev-error)
|
(define-key flymake-mode-map (kbd "M-p") 'flymake-goto-prev-error)
|
||||||
|
|
||||||
|
;; Ruby
|
||||||
(require 'robe)
|
(require 'robe)
|
||||||
(add-hook 'ruby-mode-hook 'robe-mode)
|
(add-hook 'ruby-mode-hook 'robe-mode)
|
||||||
(add-hook 'robe-mode-hook 'ac-robe-setup)
|
(add-hook 'robe-mode-hook 'ac-robe-setup)
|
||||||
@ -157,6 +159,23 @@
|
|||||||
(require 'flymake-ruby)
|
(require 'flymake-ruby)
|
||||||
(add-hook 'ruby-mode-hook 'flymake-ruby-load)
|
(add-hook 'ruby-mode-hook 'flymake-ruby-load)
|
||||||
|
|
||||||
|
;; Docker
|
||||||
|
(use-package dockerfile-mode
|
||||||
|
:ensure t
|
||||||
|
:defer t)
|
||||||
|
|
||||||
|
;; YAML
|
||||||
|
(use-package yaml-mode
|
||||||
|
:ensure t
|
||||||
|
:mode
|
||||||
|
(
|
||||||
|
("\\.yml\\'" . yaml-mode)
|
||||||
|
)
|
||||||
|
:hook
|
||||||
|
(
|
||||||
|
(yaml-mode-hook . flymake-yaml-load)
|
||||||
|
)
|
||||||
|
)
|
||||||
;; Git
|
;; Git
|
||||||
(global-set-key (kbd "C-x g") 'magit-status)
|
(global-set-key (kbd "C-x g") 'magit-status)
|
||||||
|
|
||||||
@ -180,6 +199,10 @@
|
|||||||
|
|
||||||
;;; --- Look & Feel ---
|
;;; --- Look & Feel ---
|
||||||
|
|
||||||
|
;; Zoom in/out.
|
||||||
|
(global-set-key (kbd "M-+") 'text-scale-increase)
|
||||||
|
(global-set-key (kbd "M--") 'text-scale-decrease)
|
||||||
|
|
||||||
;; no toolbar:
|
;; no toolbar:
|
||||||
(tool-bar-mode -1)
|
(tool-bar-mode -1)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user