diff options
Diffstat (limited to 'gui')
-rw-r--r-- | gui/conf/init.el | 30 | ||||
-rw-r--r-- | gui/emacs.nix | 2 |
2 files changed, 32 insertions, 0 deletions
diff --git a/gui/conf/init.el b/gui/conf/init.el new file mode 100644 index 0000000..fc16d5d --- /dev/null +++ b/gui/conf/init.el @@ -0,0 +1,30 @@ +(setq backup-directory-alist `(("." . "~/.emacs.d/backup"))) + +(require 'package) +(package-initialize) +(eval-when-compile (require 'use-package)) + +(load-theme 'leuven) +(set-frame-font "Iosevka 11" nil t) +(menu-bar-mode -1) +(toggle-scroll-bar -1) +(tool-bar-mode -1) +(global-visual-line-mode t) + +(use-package org) + +(setq org-agenda-files (list "~/org/org.org")) + +(use-package evil) +(use-package evil-leader) +(use-package evil-org) + +(global-evil-leader-mode) +(evil-leader/set-leader ",") +(evil-mode 1) + +(add-hook 'org-mode-hook 'evil-org-mode) +(evil-org-set-key-theme '(navigation insert textobjects additional todo)) + +(setq org-fontify-whole-heading-line t) +(setq org-adapt-indentation nil) diff --git a/gui/emacs.nix b/gui/emacs.nix index 2dfdde7..e2773f0 100644 --- a/gui/emacs.nix +++ b/gui/emacs.nix @@ -15,4 +15,6 @@ org ])); }; + + home.file.".emacs.d/init.el".source = ./conf/init.el; } |