20 lines
467 B
EmacsLisp
20 lines
467 B
EmacsLisp
|
(setq doom-theme 'doom-one)
|
||
|
|
||
|
|
||
|
(setq display-line-numbers-type t)
|
||
|
(setq org-directory "~/org-mode/")
|
||
|
|
||
|
(setq display-time-24hr-format 1)
|
||
|
(setq display-time-day-and-date 1)
|
||
|
(display-time-mode 1)
|
||
|
|
||
|
|
||
|
;; Restore the menu bar because doom-emacs disables it.
|
||
|
(defun restore-menu-bar()
|
||
|
(interactive)
|
||
|
(if (fboundp 'scroll-bar-mode) (scroll-bar-mode 1))
|
||
|
(if (fboundp 'tool-bar-mode) (tool-bar-mode 1))
|
||
|
(if (fboundp 'menu-bar-mode) (menu-bar-mode 1)))
|
||
|
|
||
|
(restore-menu-bar)
|