diff --git a/emacs/.config/emacs/config.el b/emacs/.config/emacs/config.el index d54261e..741465f 100644 --- a/emacs/.config/emacs/config.el +++ b/emacs/.config/emacs/config.el @@ -17,3 +17,12 @@ tab-width 4 ) (define-key evil-insert-state-map (kbd "TAB") 'tab-to-tab-stop) + +;; TODO keywords etc +;; (setq hl-todo-keyword-faces +;; '(("TODO" . "#EB4034") +;; ("FIXME" . "#EB4034") +;; ("DEBUG" . "#3B5742") +;; ("NOTE" . "#32a852") +;; ("BUG" . "#FCBA03") +;; ("STUB" . "#4287F5"))) diff --git a/emacs/.config/emacs/init.el b/emacs/.config/emacs/init.el index 84fa4c4..e3542da 100644 --- a/emacs/.config/emacs/init.el +++ b/emacs/.config/emacs/init.el @@ -16,7 +16,7 @@ ;; Startup stuff -(setq inhibit-startup-message t +(setq inhibit-startup-message nil visible-bell nil) ;; Don't the bell thing ;; Remove ugly bars @@ -37,10 +37,10 @@ ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(custom-safe-themes - '("7e377879cbd60c66b88e51fad480b3ab18d60847f31c435f15f5df18bdb18184" default)) + '("e3daa8f18440301f3e54f2093fe15f4fe951986a8628e98dcd781efbec7a46f2" "7a424478cb77a96af2c0f50cfb4e2a88647b3ccca225f8c650ed45b7f50d9525" "02f57ef0a20b7f61adce51445b68b2a7e832648ce2e7efb19d217b6454c1b644" "a44e2d1636a0114c5e407a748841f6723ed442dc3a0ed086542dc71b92a87aee" "7e377879cbd60c66b88e51fad480b3ab18d60847f31c435f15f5df18bdb18184" default)) '(package-selected-packages - '(elcord evil-tabs evil-commentary format-all auto-complete editorconfig haskell-mode counsel ivy go-mode rust-mode use-package treemacs-evil treemacs projectile doom-themes lsp-mode evil))) - + '(format-all hl-todo elcord evil-tabs evil-commentary format-all auto-complete editorconfig haskell-mode counsel ivy go-mode rust-mode use-package treemacs-evil treemacs projectile doom-themes lsp-mode evil))) + (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. @@ -119,5 +119,15 @@ ;; Evil Commentary (comment thing) (evil-commentary-mode) +;; HL TODO FIXME DEBUG STUB NOTE BUG +(hl-todo-mode) + +;; Formatter (format-all) +(global-set-key (kbd "M-g") 'format-all-buffer) +(add-hook 'prog-mode-hook #'format-all-ensure-formatter) + +;; Elcord +(elcord-mode) + ;; Loading config stuff (load "$HOME/.config/emacs/config.el")