feat: rainbow-mode - colourise colour codes
This commit is contained in:
parent
032c2fadc2
commit
b6bc4e1cfb
|
@ -3,10 +3,10 @@
|
||||||
;; Quit input dialogues after pressing escape once
|
;; Quit input dialogues after pressing escape once
|
||||||
(global-set-key (kbd "<escape>") 'keyboard-escape-quit)
|
(global-set-key (kbd "<escape>") 'keyboard-escape-quit)
|
||||||
|
|
||||||
;;; Line Wrapping
|
;; Line Wrapping
|
||||||
(global-visual-line-mode 1) ; Prevent wrapping of words
|
(global-visual-line-mode 1) ; Prevent wrapping of words
|
||||||
|
|
||||||
;;; evil - A Vi Layer inside of Emacs
|
;; evil - A Vi Layer inside of Emacs
|
||||||
(use-package evil
|
(use-package evil
|
||||||
:custom
|
:custom
|
||||||
(evil-want-keybinding nil) ; Make room for evil-collection
|
(evil-want-keybinding nil) ; Make room for evil-collection
|
||||||
|
@ -40,7 +40,7 @@
|
||||||
(setq auto-save-file-name-transforms
|
(setq auto-save-file-name-transforms
|
||||||
`((".*" ,temporary-file-directory t)))
|
`((".*" ,temporary-file-directory t)))
|
||||||
|
|
||||||
;;; Themes
|
;; Themes
|
||||||
;; Customize doom-themes
|
;; Customize doom-themes
|
||||||
(setq doom-themes-enable-bold t
|
(setq doom-themes-enable-bold t
|
||||||
doom-themes-enable-italic t)
|
doom-themes-enable-italic t)
|
||||||
|
@ -50,7 +50,11 @@
|
||||||
;; Set theme to doom-tokyo-night, Dianicemacs' default
|
;; Set theme to doom-tokyo-night, Dianicemacs' default
|
||||||
(load-theme 'doom-tokyo-night t)
|
(load-theme 'doom-tokyo-night t)
|
||||||
|
|
||||||
;;; Keybinds
|
;; rainbow-mode - Colourful colour codes!
|
||||||
|
(use-package rainbow-mode
|
||||||
|
:hook (prog-mode . rainbow-mode))
|
||||||
|
|
||||||
|
;; Keybinds
|
||||||
;; Enable which-key
|
;; Enable which-key
|
||||||
(which-key-mode)
|
(which-key-mode)
|
||||||
(setq which-key-idle-delay 0.1) ; Make the popup appear faster
|
(setq which-key-idle-delay 0.1) ; Make the popup appear faster
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
;; which-key - a popup which displays available keybindings
|
;; which-key - a popup which displays available keybindings
|
||||||
(use-package which-key)
|
(use-package which-key)
|
||||||
|
|
||||||
;;; Themes
|
;; Themes
|
||||||
;; Install the Doom Emacs theme megapack.
|
;; Install the Doom Emacs theme megapack.
|
||||||
(use-package doom-themes)
|
(use-package doom-themes)
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
;; This file contains configuration for Emacs' org-mode
|
;; This file contains configuration for Emacs' org-mode
|
||||||
|
|
||||||
;;; org-mode ;; org-superstar
|
;; org-mode ;; org-superstar
|
||||||
(use-package org-superstar
|
(use-package org-superstar
|
||||||
:config
|
:config
|
||||||
;; Change org-mode's heading bullets
|
;; Change org-mode's heading bullets
|
||||||
|
@ -40,7 +40,7 @@
|
||||||
;; Enable org-superstar-mode in org-mode files
|
;; Enable org-superstar-mode in org-mode files
|
||||||
(add-hook 'org-mode-hook 'org-superstar-mode)
|
(add-hook 'org-mode-hook 'org-superstar-mode)
|
||||||
|
|
||||||
;;; org-roam - A plain-text personal knowledge management system
|
;; org-roam - A plain-text personal knowledge management system
|
||||||
(use-package org-roam
|
(use-package org-roam
|
||||||
:custom
|
:custom
|
||||||
(org-directory file-truename "Org/") ; Set the folder used by org-mode
|
(org-directory file-truename "Org/") ; Set the folder used by org-mode
|
||||||
|
@ -54,7 +54,7 @@
|
||||||
:if-new (file+head "${slug}.org" "#+title: ${title}\n#+date: %U\n#+author: %n\n")
|
:if-new (file+head "${slug}.org" "#+title: ${title}\n#+date: %U\n#+author: %n\n")
|
||||||
:unnarrowed t)))
|
:unnarrowed t)))
|
||||||
|
|
||||||
;;; Keybinds for org-mode
|
;; Keybinds for org-mode
|
||||||
;; evil-org - Some nice keybinds for org-mode and org-agenda
|
;; evil-org - Some nice keybinds for org-mode and org-agenda
|
||||||
(use-package evil-org
|
(use-package evil-org
|
||||||
:after org
|
:after org
|
||||||
|
|
Reference in a new issue