commit 53e9e049edb7356a65d67b9ab477eee2f9952ea2
parent 7277237c962f58d0df7d2a10c35d7de6ffca50e9
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date: Sun, 24 Dec 2017 21:33:33 -0600
Using t instead of 1, adding static assets, code style changes.
Diffstat:
3 files changed, 14 insertions(+), 10 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -12,4 +12,8 @@
# yasnippets
!snippets
!snippets/*
-!snippets/*/*-
\ No newline at end of file
+!snippets/*/*
+
+# static assets
+!static
+!static/*+
\ No newline at end of file
diff --git a/README.org b/README.org
@@ -97,7 +97,7 @@ Customize banner and logo:
(setq dashboard-banner-logo-title
(elt banner-logo-titles (random (length banner-logo-titles))))
(setq dashboard-startup-banner
- (expand-file-name "republic.png" user-emacs-directory))
+ (expand-file-name "static/republic.png" user-emacs-directory))
#+END_SRC
*** Customize Widgets
@@ -341,7 +341,7 @@ as you only need to remember one part of the function name.
helm-locate-fuzzy-match t
helm-apropos-fuzzy-match t
helm-lisp-fuzzy-completion t
- helm-candidate-number-limit 100)
+ helm-candidate-number-limit 250)
#+END_SRC
** Keybindings
@@ -449,7 +449,7 @@ Not exactly useful since we already have =company=.
*** Auto-complete Sub/Superscripts
Insert braces after ~_~ or ~^~.
#+BEGIN_SRC emacs-lisp
- (setq TeX-electric-sub-and-superscript 1)
+ (setq TeX-electric-sub-and-superscript t)
#+END_SRC
* Ox-hugo
@@ -635,12 +635,12 @@ Install =company-quickhelp= and set delay, FG/BG colors, max lines.
#+BEGIN_SRC emacs-lisp
(use-package company-quickhelp
:ensure t
- :init (company-quickhelp-mode 1))
+ :init (company-quickhelp-mode t))
(setq company-quickhelp-delay 0.01)
(setq company-quickhelp-color-background "#272822")
(setq company-quickhelp-color-foreground "#F8F8F2")
(setq company-quickhelp-max-lines 20)
- (setq company-quickhelp-use-propertized-text 1)
+ (setq company-quickhelp-use-propertized-text t)
#+END_SRC
** Backend Configurations
*** =company-math=
@@ -657,9 +657,9 @@ Install =company-math= and add it to =company-backends=.
Install =company-auctex= and add it to =company-backends=. This is for =acutex= macro completion.
Adding backends is handled by =company-auctex-init=.
#+BEGIN_SRC emacs-lisp
- (use-package company-auctex
- :ensure t
- :init (company-auctex-init))
+ (use-package company-auctex
+ :ensure t
+ :init (company-auctex-init))
#+END_SRC
*** =company-yasnippet=
Add =company-yasnippet= backend for =yasnippet= key completion.
diff --git a/static/republic.png b/static/republic.png
Binary files differ.