From d56d5c390d49cc94b43e7d7bb77b601305fe1c46 Mon Sep 17 00:00:00 2001 From: Andre Schaf Date: Mon, 11 May 2026 23:12:44 +0200 Subject: [PATCH 1/2] fixed gitignore --- .gitignore | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 9599cc6..3ce20a8 100644 --- a/.gitignore +++ b/.gitignore @@ -2,11 +2,11 @@ .git/ # Emacs internals -.auto-save-list/ -.custom -.eln-cache/ -.elpa/ +auto-save-list/ +custom +eln-cache/ +elpa/ .lsp-session-v1 -.transient/ -.tutorial/ +transient/ +tutorial/ .init.el.~undo-tree~ \ No newline at end of file From 12e17b0861ad19927862d5dcdcf65809655fdde0 Mon Sep 17 00:00:00 2001 From: Andre Schaf Date: Mon, 11 May 2026 23:12:52 +0200 Subject: [PATCH 2/2] initial config --- init.el | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 init.el diff --git a/init.el b/init.el new file mode 100644 index 0000000..11be859 --- /dev/null +++ b/init.el @@ -0,0 +1,65 @@ +(setq custom-file "./custom") +(setq display-line-numbers-type 'relative) +(global-display-line-numbers-mode 1) +(tool-bar-mode 0) +(menu-bar-mode 0) +(column-number-mode 1) +(setq select-enable-clipboard t) + +(setq make-backup-files nil + auto-save-default nil) + +;; keys +(global-set-key (kbd "C-x C-c") 'comment-line) + +;; packages +(require 'package) +(setq package-archives + '(("melpa" . "https://melpa.org/packages/") + ("gnu" . "https://elpa.gnu.org/packages/"))) +(package-initialize) +(unless package-archive-contents (package-refresh-contents)) + +;; install use-package if missing +(unless (package-installed-p 'use-package) + (package-install 'use-package)) + +;; make use-package auto-install by default +(setq use-package-always-ensure t) +(require 'use-package) + +(setq evil-want-C-u-scroll t + evil-want-keybinding nil + evil-want-integration t + evil-undo-system 'undo-tree) + +(use-package undo-tree + :config + (global-undo-tree-mode)) + +(use-package evil + :config + (evil-mode 1)) + +(use-package evil-collection + ;; :after evil + :config + (evil-collection-init)) + +(use-package zoom-window + :ensure t + :config + (setq zoom-window-mode-line-color "DarkGreen") + :bind ("C-x C-z" . zoom-window-zoom)) + +(use-package doom-themes + :config + ;; Global settings (defaults) + (setq doom-themes-enable-bold t + doom-themes-enable-italic t) + (load-theme 'doom-laserwave t) + ;; Enable flashing mode-line on errors + (doom-themes-visual-bell-config) + ;; Corrects (and improves) org-mode's native fontification. + (doom-themes-org-config)) +