feat: doom-modeline, magit & evil undo/redo

This change adds more functionality to evil with undo-fu (undo-redo is
now possbile), and adds magit and doom-modeline.
This commit is contained in:
Muhammad Nauman Raza 2022-11-08 17:53:05 +00:00
parent 9b57aa74de
commit 344f6e05c2
No known key found for this signature in database
GPG key ID: A9A36C429C9CAE31
2 changed files with 29 additions and 16 deletions

44
init.el
View file

@ -53,8 +53,15 @@
(load-theme 'doom-tokyo-night t)
;; Vi layer inside of Emacs
;; undo-fu, used by evil for undo/redo functionality
(use-package undo-fu
:ensure t)
(use-package evil
:config
:requires undo-fu
:ensure t
:init
(setq evil-undo-system 'undo-fu)
(evil-mode 1))
;; Keep packages up to date
@ -64,20 +71,25 @@
(setq auto-package-update-hide-results t)
(auto-package-update-maybe))
;; Modeline - doom-modeline
(use-package doom-modeline
:ensure t
:init (doom-modeline-mode 1)
:config
(setq doom-modeline-height 25
doom-modeline-bar-width 0
doom-modeline-project-detection 'auto
doom-modeline-buffer-encoding nil
doom-modeline-modal t
doom-modeline-modal-icon t
doom-modeline-buffer-file-name-style 'file-name))
(use-package magit
:ensure t)
;; Icons for various UI elements
(use-package all-the-icons
:ensure t)
;; Programming languages configuration
;; Rust
;; Custom variables set by user
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(package-selected-packages '(use-package)))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)

1
transient/history.el Normal file
View file

@ -0,0 +1 @@
nil