Change theme to zenburn.

This commit is contained in:
2019-08-09 19:03:31 +02:00
parent b62fbc7cb6
commit a3da4d9576

View File

@@ -57,6 +57,7 @@ This is my configuration for the emacs editor.
kept-old-versions 2 kept-old-versions 2
version-control t) version-control t)
#+END_SRC #+END_SRC
* Define useful functions * Define useful functions
** Reformat a whole buffer ** Reformat a whole buffer
Reindet the whole buffer with ~F12~ Reindet the whole buffer with ~F12~
@@ -94,16 +95,9 @@ This is my configuration for the emacs editor.
* Theming * Theming
** Main Theme ** Main Theme
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package solarized-theme (use-package zenburn-theme
:config :config
(load-theme 'solarized-light t) (load-theme 'zenburn t))
(let ((line (face-attribute 'mode-line :underline)))
(set-face-attribute 'mode-line nil :overline line)
(set-face-attribute 'mode-line-inactive nil :overline line)
(set-face-attribute 'mode-line-inactive nil :underline line)
(set-face-attribute 'mode-line nil :box nil)
(set-face-attribute 'mode-line-inactive nil :box nil)
(set-face-attribute 'mode-line-inactive nil :background "#f9f2d9")))
#+END_SRC #+END_SRC
** Modeline ** Modeline
@@ -164,11 +158,13 @@ This is my configuration for the emacs editor.
(use-package ivy-hydra) (use-package ivy-hydra)
#+END_SRC #+END_SRC
** Smex ** Smex
Sort commands by recency in ivy windows Sort commands by recency in ivy windows
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package smex) (use-package smex)
#+END_SRC #+END_SRC
* Counsel * Counsel
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package counsel (use-package counsel
@@ -187,6 +183,7 @@ This is my configuration for the emacs editor.
("C-r" . counsel-minibuffer-history)) ("C-r" . counsel-minibuffer-history))
:diminish) :diminish)
#+END_SRC #+END_SRC
* Undo Tree * Undo Tree
Using the beauty that is undo-tree, we can easily navigate through history of a buffer. Using the beauty that is undo-tree, we can easily navigate through history of a buffer.
This includes obviously going back in edit history, but also branching of end returning to previous states. This includes obviously going back in edit history, but also branching of end returning to previous states.
@@ -531,6 +528,7 @@ This is my configuration for the emacs editor.
(use-package ace-window (use-package ace-window
:bind (("M-p" . 'ace-window))) :bind (("M-p" . 'ace-window)))
#+END_SRC #+END_SRC
* Set Variables * Set Variables
** General Emacs Options ** General Emacs Options
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
@@ -563,6 +561,7 @@ This is my configuration for the emacs editor.
:config :config
(exec-path-from-shell-initialize)) (exec-path-from-shell-initialize))
#+END_SRC #+END_SRC
** Show the current filename in titlebar ** Show the current filename in titlebar
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(setq-default frame-title-format (setq-default frame-title-format
@@ -625,6 +624,7 @@ This is my configuration for the emacs editor.
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(add-hook 'before-save-hook 'delete-trailing-whitespace) (add-hook 'before-save-hook 'delete-trailing-whitespace)
#+END_SRC #+END_SRC
** Elisp ** Elisp
Some customization for writing elisp Some customization for writing elisp
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
@@ -636,6 +636,7 @@ This is my configuration for the emacs editor.
(add-hook 'emacs-lisp-mode-hook 'my-elisp-mode-hook) (add-hook 'emacs-lisp-mode-hook 'my-elisp-mode-hook)
#+END_SRC #+END_SRC
* Global Key Bindings * Global Key Bindings
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(bind-key "C-x k" 'kill-buffer-with-prejudice) (bind-key "C-x k" 'kill-buffer-with-prejudice)