Update init
This commit is contained in:
parent
9f8218944c
commit
5dc16e7815
1 changed files with 20 additions and 16 deletions
36
init.el
36
init.el
|
@ -1,15 +1,6 @@
|
|||
;; -*- coding: utf-8 -*-
|
||||
;; (add-to-list 'custom-theme-load-path (expand-file-name "~/.emacs.d/bundle/nord-theme/"))
|
||||
(add-to-list 'load-path (expand-file-name "~/.emacs.d/bundle"))
|
||||
(add-to-list 'load-path (expand-file-name "~/.emacs.d/bundle/markdown-mode"))
|
||||
(add-to-list 'load-path (expand-file-name "~/.emacs.d/bundle/linum-relative"))
|
||||
|
||||
|
||||
|
||||
(require 'markdown-mode)
|
||||
(require 'linum-relative)
|
||||
(require 'fill-column-indicator)
|
||||
(require 'tls)
|
||||
|
||||
;; Added by Package.el. This must come before configurations of
|
||||
;; installed packages. Don't delete this line. If you don't want it,
|
||||
|
@ -33,6 +24,7 @@ There are two things you can do about this warning:
|
|||
;; For important compatibility libraries like cl-lib
|
||||
(add-to-list 'package-archives (cons "gnu" (concat proto "://elpa.gnu.org/packages/")))))
|
||||
(package-initialize)
|
||||
|
||||
(custom-set-variables
|
||||
;; custom-set-variables was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
|
@ -81,7 +73,7 @@ There are two things you can do about this warning:
|
|||
'(package-enable-at-startup t)
|
||||
'(package-selected-packages
|
||||
(quote
|
||||
(nord-theme restclient request restclient-test yaml-mode magit)))
|
||||
(ob-http ob-ipython ob-restclient linum-relative markdown-mode nord-theme restclient request restclient-test yaml-mode magit)))
|
||||
'(require-final-newline t)
|
||||
'(timeclock-file "~/Documents/Diary/timelog")
|
||||
'(timeclock-mode-line-display t)
|
||||
|
@ -91,6 +83,12 @@ There are two things you can do about this warning:
|
|||
(setq nord-comment-brightness 15)
|
||||
(load-theme 'nord t)
|
||||
|
||||
(require 'markdown-mode)
|
||||
(require 'linum-relative)
|
||||
(require 'fill-column-indicator)
|
||||
(require 'tls)
|
||||
(require 'request)
|
||||
(require 'yaml-mode)
|
||||
|
||||
(custom-set-faces
|
||||
;; custom-set-faces was added by Custom.
|
||||
|
@ -98,8 +96,8 @@ There are two things you can do about this warning:
|
|||
;; Your init file should contain only one such instance.
|
||||
;; If there is more than one, they won't work right.
|
||||
)
|
||||
(when (display-graphic-p)
|
||||
(add-to-list 'default-frame-alist '(font . "Hack-11")))
|
||||
(when (display-graphic-p) (add-to-list 'default-frame-alist '(font . "Hack-11")))
|
||||
|
||||
;; set modes
|
||||
(line-number-mode -1)
|
||||
(column-number-mode -1)
|
||||
|
@ -145,8 +143,9 @@ There are two things you can do about this warning:
|
|||
(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 '(height . 50))
|
||||
(add-to-list 'default-frame-alist '(width . 80))
|
||||
(add-to-list 'default-frame-alist '(fullscreen . maximized))
|
||||
;; (add-to-list 'default-frame-alist '(alpha . (96)))
|
||||
))
|
||||
|
||||
|
@ -169,10 +168,12 @@ There are two things you can do about this warning:
|
|||
(add-hook 'today-visible-calendar-hook 'calendar-mark-today)
|
||||
(global-set-key "\C-cc" 'org-capture)
|
||||
(global-set-key "\C-ca" 'org-agenda)
|
||||
|
||||
(setq org-todo-keywords
|
||||
'((sequence "TODO" "FEEDBACK" "VERIFY" "|" "DONE" "DELEGATED")))
|
||||
(put 'narrow-to-region 'disabled nil)
|
||||
(put 'narrow-to-page 'disabled nil)
|
||||
|
||||
(defun duplicate-line()
|
||||
(interactive)
|
||||
(move-beginning-of-line 1)
|
||||
|
@ -183,6 +184,9 @@ There are two things you can do about this warning:
|
|||
(yank)
|
||||
)
|
||||
;;(global-set-key (kbd "C-d") 'duplicate-line)
|
||||
(require 'yaml-mode)
|
||||
(add-to-list 'auto-mode-alist '("\\.yml\\'" . yaml-mode))
|
||||
(require 'request)
|
||||
(add-to-list 'auto-mode-alist '("\\.yml\\'" . yaml-mode))
|
||||
|
||||
(require 'ob-js)
|
||||
(add-to-list 'org-babel-load-languages '(js . t))
|
||||
(org-babel-do-load-languages 'org-babel-load-languages org-babel-load-languages)
|
||||
(add-to-list 'org-babel-tangle-lang-exts '("js" . "js"))
|
||||
|
|
Loading…
Add table
Reference in a new issue