From 903a184d5f5eb2e3a6bdf5d1e685eee1a6f31235 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Tue, 25 Feb 2020 21:24:39 +0100 Subject: Add basic Emacs config --- gui/conf/init.el | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 gui/conf/init.el (limited to 'gui/conf') 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) -- cgit v1.2.3