84d7abd8305db806c355128c613a1df6233d04c6
commit 84d7abd8305db806c355128c613a1df6233d04c6
Author: Simon Watson <spw01@protonmail.com>
Date: Wed Jul 14 21:07:27 2021 -0400

Fix MR and include hotkeys for theme

diff --git a/emacs/.emacs-all b/emacs/.emacs-all
index fa0a1b0..c8e5aa5 100644
--- a/emacs/.emacs-all
+++ b/emacs/.emacs-all
@@ -91,9 +91,10 @@
(require 'markdown-mode)

(require 'powerline)
-(powerline-default-theme)
+;;(powerline-default-theme)
;; Better powerline support for evil mode
(require 'powerline-evil)
+(powerline-evil-vim-theme)

(require 'neotree)
(global-set-key [f8] 'neotree-toggle)
@@ -134,6 +135,14 @@
(interactive)
(load-file (file-truename "~/.emacs")))

+(defun sol-dk ()
+ (interactive)
+ (load-theme 'solarized-dark))
+
+(defun sol-l ()
+ (interactive)
+ (load-theme 'solarized-light))
+
;; Keybinds/macros
(global-set-key (kbd "C-c e") 'diff-hl-mode)
(global-set-key (kbd "C-c d") 'dimmer-mode)
@@ -142,6 +151,8 @@
(global-set-key (kbd "C-c r") 'reload-dot-emacs)
(global-set-key (kbd "C-c l") 'display-line-numbers-mode)
(global-set-key (kbd "C-c w") 'windresize)
+(global-set-key (kbd "C-c t") 'sol-dk)
+(global-set-key (kbd "C-c g") 'sol-l)

(fset 'date-to-point
(kmacro-lambda-form [?\C-u ?\M-! ?d ?a ?t ?e return] 0 "%d"))