Add yaml mode
This commit is contained in:
parent
3535d81ee1
commit
9434783dc8
1 changed files with 8 additions and 6 deletions
14
init.el
14
init.el
|
@ -50,7 +50,7 @@
|
|||
'(global-hl-line-mode t)
|
||||
'(indent-tabs-mode nil)
|
||||
'(inhibit-startup-screen t)
|
||||
'(line-spacing 3)
|
||||
'(line-spacing nil)
|
||||
'(linum-relative-backend (quote display-line-numbers-mode))
|
||||
'(major-mode (quote text-mode))
|
||||
'(make-backup-files nil)
|
||||
|
@ -65,11 +65,10 @@
|
|||
("Ubuntu" "https://blog.ubuntu.com/feed")
|
||||
("Python PEP" "https://www.python.org/dev/peps/peps.rss/")
|
||||
("openSuse News" "https://news.opensuse.org/feed"))))
|
||||
|
||||
'(org-agenda-files (quote ("~/Documents/Journal")))
|
||||
'(org-default-notes-file "~/Documents/Journal/notes.org")
|
||||
'(package-enable-at-startup t)
|
||||
'(package-selected-packages (quote (magit)))
|
||||
'(package-selected-packages (quote (yaml-mode magit)))
|
||||
'(require-final-newline t)
|
||||
'(timeclock-file "~/Documents/Diary/timelog")
|
||||
'(timeclock-mode-line-display t)
|
||||
|
@ -82,7 +81,7 @@
|
|||
;; If there is more than one, they won't work right.
|
||||
)
|
||||
(when (display-graphic-p)
|
||||
(add-to-list 'default-frame-alist '(font . "Hack-10")))
|
||||
(add-to-list 'default-frame-alist '(font . "Hack-11")))
|
||||
;; set modes
|
||||
(line-number-mode -1)
|
||||
(column-number-mode -1)
|
||||
|
@ -124,13 +123,14 @@
|
|||
(add-to-list 'default-frame-alist '(width . 80))))
|
||||
|
||||
(when (eq system-type 'windows-nt)
|
||||
(setq-default line-spacing 5)
|
||||
;; (setq-default line-spacing 5)
|
||||
(add-to-list 'load-path (expand-file-name "~/.emacs.d/__evo"))
|
||||
(require 'evo-feeds)
|
||||
(when (display-graphic-p)
|
||||
(add-to-list 'default-frame-alist '(height . 60))
|
||||
(add-to-list 'default-frame-alist '(width . 80))
|
||||
(add-to-list 'default-frame-alist '(alpha . (96)))))
|
||||
;; (add-to-list 'default-frame-alist '(alpha . (96)))
|
||||
))
|
||||
|
||||
(when (eq system-type 'gnu/linux)
|
||||
(setq-default line-spacing 3)
|
||||
|
@ -165,3 +165,5 @@
|
|||
(yank)
|
||||
)
|
||||
;;(global-set-key (kbd "C-d") 'duplicate-line)
|
||||
(require 'yaml-mode)
|
||||
(add-to-list 'auto-mode-alist '("\\.yml\\'" . yaml-mode))
|
||||
|
|
Loading…
Add table
Reference in a new issue