;; Default changes (setq inhibit-startup-message t) (scroll-bar-mode -1) (tool-bar-mode -1) (tooltip-mode -1) (menu-bar-mode -1) (setq visible-bell t) ;; Line Numbers (global-display-line-numbers-mode t) (column-number-mode) ;; Disable line num on these modes1 (require 'package) (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")) (package-initialize) (unless (package-installed-p 'use-package) (package-refresh-contents) (package-install 'use-package)) (eval-and-compile (setq use-package-always-ensure t use-package-expand-minimally t)) ;; Ivy (use-package ivy :diminish :config (ivy-mode 1)) (use-package counsel :after ivy :bind (("M-x" . counsel-M-x) ("C-x b" . counsel-ibuffer) ("C-x C-f" . counsel-find-file) :map minibuffer-local-map ("C-r" . 'counsel-minibuffer-history)) :config (setq ivy-initial-inputs-alist nil)) ;; Don't start searches with ^ (use-package ivy-rich :config (ivy-rich-mode 1)) ;; Theme (load-theme 'modus-vivendi) (use-package doom-modeline :init (doom-modeline-mode 1) :config (setq doom-modeline-height 15)) ;; Projects (use-package projectile :diminish projectile-mode :config (projectile-mode) :custom ((projectile-completion-system 'ivy)) :bind-keymap ("C-c p" . projectile-command-map)) (use-package magit) ;; Make M-x all-the-icons-install-fonts available (use-package all-the-icons :if (display-graphic-p)) ;; Quality of life (use-package rainbow-delimiters :hook (prog-mode . rainbow-delimiters-mode)) (use-package which-key :init (which-key-mode) :diminish which-key-mode :config (setq which-key-idle-delay 0.3)) (use-package helpful :custom (counsel-describe-function-function #'helpful-callable) (counsel-describe-variable-function #'helpful-variable) :bind ([remap describe-function] . counsel-describe-function) ([remap describe-command] . helpful-command) ([remap describe-variable] . counsel-describe-variable) ([remap describe-key] . helpful-key)) ;; TODO look into general for easy custom key bindings ;; TODO explore theme packages ;; TODO consider evil?