diff options
author | Adrian Kummerlaender | 2020-02-25 21:24:39 +0100 |
---|---|---|
committer | Adrian Kummerlaender | 2020-02-25 21:24:39 +0100 |
commit | 903a184d5f5eb2e3a6bdf5d1e685eee1a6f31235 (patch) | |
tree | 820b275b9328bfe2e496c7d1d432150b15a8a7e9 /gui/conf | |
parent | 4c3fc870eb387a50e61b2d7b6317a785463cfc03 (diff) | |
download | nixos_home-903a184d5f5eb2e3a6bdf5d1e685eee1a6f31235.tar nixos_home-903a184d5f5eb2e3a6bdf5d1e685eee1a6f31235.tar.gz nixos_home-903a184d5f5eb2e3a6bdf5d1e685eee1a6f31235.tar.bz2 nixos_home-903a184d5f5eb2e3a6bdf5d1e685eee1a6f31235.tar.lz nixos_home-903a184d5f5eb2e3a6bdf5d1e685eee1a6f31235.tar.xz nixos_home-903a184d5f5eb2e3a6bdf5d1e685eee1a6f31235.tar.zst nixos_home-903a184d5f5eb2e3a6bdf5d1e685eee1a6f31235.zip |
Add basic Emacs config
Diffstat (limited to 'gui/conf')
-rw-r--r-- | gui/conf/init.el | 30 |
1 files changed, 30 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) |