feat: interface improvements

This commit is contained in:
Muhammad Nauman Raza 2023-07-01 16:19:53 +01:00
parent 4320e16f57
commit 27d51dbd42
No known key found for this signature in database
GPG key ID: 4FFEEB78B8A620C7

View file

@ -18,11 +18,17 @@
(setq use-dialog-box nil)
;; Enable line numbers globally
(global-display-line-numbers-mode 1)
(setq display-line-numbers 'relative)
(add-hook 'prog-mode-hook 'display-line-numbers-mode)
;; Modeline
(use-package nano-modeline)
(add-hook 'prog-mode-hook #'nano-modeline-prog-mode)
(add-hook 'org-mode-hook #'nano-modeline-org-mode)
;; Window dividers + fringe
(set-fringe-mode 0)
(window-divider-mode 1)
;; Add a nice border around Emacs
(modify-all-frames-parameters