43 lines
1.5 KiB
EmacsLisp
Executable file
43 lines
1.5 KiB
EmacsLisp
Executable file
(add-to-list 'load-path (expand-file-name "~/.emacs.d/bundle/"))
|
|
(load "bundle--server")
|
|
(load "bundle--package")
|
|
(load "bundle--customfile")
|
|
(load "bundle--keys")
|
|
(load "bundle--coding")
|
|
;; (load-theme 'nord t)
|
|
(require 'color-theme-sanityinc-tomorrow)
|
|
(defalias 'yes-or-no-p 'y-or-n-p)
|
|
(org-clock-persistence-insinuate)
|
|
|
|
;; HOOKS
|
|
(add-hook 'diary-display-hook 'fancy-diary-display)
|
|
(add-hook 'today-visible-calendar-hook 'calendar-mark-today)
|
|
(add-hook 'write-file-hooks 'delete-trailing-whitespace)
|
|
(defun me/org-mode ()
|
|
"My custom configuration for 'org-mode'."
|
|
(olivetti-mode)
|
|
(olivetti-set-width 82))
|
|
;; (add-hook 'org-mode-hook 'me/org-mode)
|
|
(add-hook 'org-mode-hook 'turn-on-auto-fill)
|
|
(add-hook 'rst-mode-hook 'turn-on-orgstruct)
|
|
(add-hook 'newsticker-mode-hook 'imenu-add-menubar-index)
|
|
(add-to-list 'auto-mode-alist '("\\.tmpl\\'" . web-mode))
|
|
|
|
(load "bundle--calendar")
|
|
|
|
(put 'narrow-to-region 'disabled nil)
|
|
(put 'narrow-to-page 'disabled nil)
|
|
|
|
;; SBCL
|
|
(defun win-set-sbcl ()
|
|
;; %USERPROFILE%\AppData\Local\Programs\emacs-26.2-x86_64\bin\emacsclientw.exe -c -n -a runemacs.exe
|
|
;; (setq inferior-lisp-program (executable-find "sbcl"))
|
|
(setq sbcl-exe (expand-file-name "~/AppData/Local/Programs/Steel Bank Common Lisp/1.4.14/sbcl.exe")
|
|
sbcl-core (expand-file-name "~/AppData/Local/Programs/Steel Bank Common Lisp/1.4.14/sbcl.core")
|
|
inferior-lisp-program "sbcl"
|
|
slime-lisp-implementations `((sbcl (,sbcl-exe "--core" ,sbcl-core)))))
|
|
|
|
(when (eq system-type 'windows-nt)
|
|
(win-set-sbcl))
|
|
|
|
(load "bundle--mk")
|