feat: NANO-modeline

This commit is contained in:
Muhammad Nauman Raza 2023-07-01 13:23:39 +01:00
parent 6d6b12bc13
commit 4320e16f57
No known key found for this signature in database
GPG key ID: 4FFEEB78B8A620C7
2 changed files with 18 additions and 0 deletions

14
init.el
View file

@ -70,3 +70,17 @@
(setq gc-cons-threshold (* 2 1000 1000)) (setq gc-cons-threshold (* 2 1000 1000))
;;; init.el ends here ;;; init.el ends here
(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.
'(custom-safe-themes
'("d41809cb620c823c37cbc55e99adb7d5a4bf5d7237b81bc8b6cfd64a4a2dd7ed"
default)))
(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.
)

View file

@ -20,6 +20,10 @@
;; Enable line numbers globally ;; Enable line numbers globally
(global-display-line-numbers-mode 1) (global-display-line-numbers-mode 1)
;; Modeline
(use-package nano-modeline)
(add-hook 'prog-mode-hook #'nano-modeline-prog-mode)
;; Add a nice border around Emacs ;; Add a nice border around Emacs
(modify-all-frames-parameters (modify-all-frames-parameters
'((right-divider-width . 15) '((right-divider-width . 15)