Make appearance section literate
This commit is contained in:
parent
b99bca2755
commit
08083b5bb2
@ -2437,47 +2437,70 @@ items follow a style that is consistent with other prog-modes."
|
|||||||
|
|
||||||
(use-package hackernews :commands hackernews)
|
(use-package hackernews :commands hackernews)
|
||||||
|
|
||||||
;; =============================================================================
|
#+END_SRC
|
||||||
;; Appearance
|
|
||||||
;; =============================================================================
|
|
||||||
|
|
||||||
(defvar packages-appearance
|
* Appearance
|
||||||
'(monokai-theme solarized-theme zenburn-theme base16-theme molokai-theme
|
|
||||||
tango-2-theme gotham-theme sublime-themes ansi-color rainbow-delimiters
|
|
||||||
ample-theme material-theme zerodark-theme color-theme-modern leuven-theme))
|
|
||||||
|
|
||||||
(ensure-packages-installed packages-appearance)
|
** Config
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(setq inhibit-startup-screen t)
|
||||||
|
(blink-cursor-mode -1)
|
||||||
|
#+END_SRC
|
||||||
|
** Themes
|
||||||
|
Ensure all themes that I use are installed:
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(defvar packages-appearance
|
||||||
|
'(monokai-theme solarized-theme zenburn-theme base16-theme molokai-theme
|
||||||
|
tango-2-theme gotham-theme sublime-themes rainbow-delimiters waher-theme
|
||||||
|
ample-theme material-theme zerodark-theme color-theme-modern leuven-theme))
|
||||||
|
|
||||||
(setq inhibit-startup-screen t)
|
(ensure-packages-installed packages-appearance)
|
||||||
(blink-cursor-mode -1)
|
#+END_SRC
|
||||||
|
|
||||||
;; make whitespace-mode use just basic coloring
|
** Other Packages
|
||||||
(setq whitespace-style (quote (spaces tabs newline space-mark
|
#+BEGIN_SRC emacs-lisp
|
||||||
tab-mark newline-mark)))
|
(use-package window-number)
|
||||||
(setq whitespace-display-mappings
|
|
||||||
'((space-mark 32 [183] [46])
|
|
||||||
(tab-mark 9 [9655 9] [92 9])))
|
|
||||||
|
|
||||||
(defun colorize-compilation-buffer ()
|
(use-package spaceline-config
|
||||||
(read-only-mode)
|
:ensure spaceline
|
||||||
(ansi-color-apply-on-region (point-min) (point-max))
|
:config
|
||||||
(read-only-mode))
|
(progn
|
||||||
(add-hook 'compilation-filter-hook 'colorize-compilation-buffer)
|
(setq powerline-default-separator (random-choice '(butt slant wave)))
|
||||||
|
(setq spaceline-workspace-numbers-unicode t
|
||||||
|
spaceline-window-numbers-unicode t)
|
||||||
|
(if (display-graphic-p)
|
||||||
|
(setq-default powerline-default-separator 'wave)
|
||||||
|
(setq-default powerline-default-separator 'utf-8))
|
||||||
|
(setq powerline-height 25)
|
||||||
|
(spaceline-spacemacs-theme)))
|
||||||
|
#+END_SRC
|
||||||
|
** Whitespace Setup
|
||||||
|
|
||||||
(use-package window-number)
|
Make whitespace-mode use just basic coloring:
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(setq whitespace-style
|
||||||
|
'(spaces tabs newline space-mark tab-mark newline-mark))
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
(use-package spaceline-config
|
Set the character used to represent spaces to ·, and the character used for tabs to be ▷.
|
||||||
:ensure spaceline
|
#+BEGIN_SRC emacs-lisp
|
||||||
:config
|
(setq whitespace-display-mappings
|
||||||
(progn
|
'((space-mark 32 [183] [46])
|
||||||
(setq powerline-default-separator (random-choice '(butt slant wave)))
|
(tab-mark 9 [9655 9] [92 9])))
|
||||||
(setq spaceline-workspace-numbers-unicode t
|
#+END_SRC
|
||||||
spaceline-window-numbers-unicode t)
|
|
||||||
(if (display-graphic-p)
|
** Colorize Compliation Buffers
|
||||||
(setq-default powerline-default-separator 'wave)
|
This automatically applies ansi-color interpretation of terminal escape sequences to compilation buffers
|
||||||
(setq-default powerline-default-separator 'utf-8))
|
#+BEGIN_SRC emacs-lisp
|
||||||
(setq powerline-height 25)
|
(defun colorize-compilation-buffer ()
|
||||||
(spaceline-spacemacs-theme)))
|
(read-only-mode)
|
||||||
|
(ansi-color-apply-on-region (point-min) (point-max))
|
||||||
|
(read-only-mode))
|
||||||
|
(add-hook 'compilation-filter-hook 'colorize-compilation-buffer)
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
|
** TODO Finish making the following litarate
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
|
||||||
;; =============================================================================
|
;; =============================================================================
|
||||||
;; Themes
|
;; Themes
|
||||||
@ -2569,7 +2592,13 @@ items follow a style that is consistent with other prog-modes."
|
|||||||
(add-hook 'after-make-frame-functions 'imalison:appearance)
|
(add-hook 'after-make-frame-functions 'imalison:appearance)
|
||||||
(remove-hook 'after-make-frame-functions 'imalison:appearance)
|
(remove-hook 'after-make-frame-functions 'imalison:appearance)
|
||||||
|
|
||||||
|
#+END_SRC
|
||||||
|
* Footer
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
|
||||||
;; Local Variables:
|
;; Local Variables:
|
||||||
;; flycheck-disabled-checkers: (emacs-lisp-checkdoc)
|
;; flycheck-disabled-checkers: (emacs-lisp-checkdoc)
|
||||||
;; End:
|
;; End:
|
||||||
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user