diff --git a/.gitignore b/.gitignore index 3ce20a8..9599cc6 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 diff --git a/init.el b/init.el deleted file mode 100644 index 11be859..0000000 --- a/init.el +++ /dev/null @@ -1,65 +0,0 @@ -(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)) -