|
@@ -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"))
|