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
|
||||
(global-set-key (kbd "<escape>") 'keyboard-escape-quit)
|
||||
|
||||
;;; Line Wrapping
|
||||
;; Line Wrapping
|
||||
(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
|
||||
:custom
|
||||
(evil-want-keybinding nil) ; Make room for evil-collection
|
||||
|
@ -40,7 +40,7 @@
|
|||
(setq auto-save-file-name-transforms
|
||||
`((".*" ,temporary-file-directory t)))
|
||||
|
||||
;;; Themes
|
||||
;; Themes
|
||||
;; Customize doom-themes
|
||||
(setq doom-themes-enable-bold t
|
||||
doom-themes-enable-italic t)
|
||||
|
@ -50,7 +50,11 @@
|
|||
;; Set theme to doom-tokyo-night, Dianicemacs' default
|
||||
(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
|
||||
(which-key-mode)
|
||||
(setq which-key-idle-delay 0.1) ; Make the popup appear faster
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
;; which-key - a popup which displays available keybindings
|
||||
(use-package which-key)
|
||||
|
||||
;;; Themes
|
||||
;; Themes
|
||||
;; Install the Doom Emacs theme megapack.
|
||||
(use-package doom-themes)
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;; This file contains configuration for Emacs' org-mode
|
||||
|
||||
;;; org-mode ;; org-superstar
|
||||
;; org-mode ;; org-superstar
|
||||
(use-package org-superstar
|
||||
:config
|
||||
;; Change org-mode's heading bullets
|
||||
|
@ -40,7 +40,7 @@
|
|||
;; Enable org-superstar-mode in org-mode files
|
||||
(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
|
||||
:custom
|
||||
(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")
|
||||
:unnarrowed t)))
|
||||
|
||||
;;; Keybinds for org-mode
|
||||
;; Keybinds for org-mode
|
||||
;; evil-org - Some nice keybinds for org-mode and org-agenda
|
||||
(use-package evil-org
|
||||
:after org
|
||||
|
|
Reference in a new issue