diff options
author | oreodave <aryadevchavali1@gmail.com> | 2019-11-25 16:22:30 +0000 |
---|---|---|
committer | oreodave <aryadevchavali1@gmail.com> | 2019-11-25 16:22:30 +0000 |
commit | e9416579fd590fcda0127ed5ab4fd60e4ac5b41c (patch) | |
tree | 7ac6cdd3491bb7df874dba8a5c3cd2a49148715f | |
parent | cec15a7a4991c828847a5ecaf9f3a4da989b607a (diff) | |
download | dotfiles-e9416579fd590fcda0127ed5ab4fd60e4ac5b41c.tar.gz dotfiles-e9416579fd590fcda0127ed5ab4fd60e4ac5b41c.tar.bz2 dotfiles-e9416579fd590fcda0127ed5ab4fd60e4ac5b41c.zip |
~moved hook to personal
-rw-r--r-- | doom.d/config.org | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/doom.d/config.org b/doom.d/config.org index f6ef0ad..c40871d 100644 --- a/doom.d/config.org +++ b/doom.d/config.org @@ -72,7 +72,16 @@ Set the org directory to Text. (cl-pushnew '("Libgen" . "https://libgen.me/search/all?search=%s") +lookup-provider-url-alist :key #'car) #+END_SRC Uniquely append "Libgen" to the search provider alist. Libgen is a nice book site. -* Custom functions +** Hook for font ligatures +#+BEGIN_SRC elisp +(add-hook 'after-make-frame-functions + (lambda (_) + (set-fontset-font t '(#Xe100 . #Xe16f) + +pretty-code-fira-code-font-name))) +#+END_SRC +This hook was given to me by our lord and saviour Henrik. Fixes a single font +issue I had with font ligatures. +* Personal functions These functions help me with adding functionality to Emacs. ** Reload #+BEGIN_SRC elisp @@ -98,15 +107,6 @@ Open a Dired session to the books directory in the org-directory. (interactive) (dired (expand-file-name "~/School"))) #+END_SRC -** Hook for font ligatures -#+BEGIN_SRC elisp -(add-hook 'after-make-frame-functions - (lambda (_) - (set-fontset-font t '(#Xe100 . #Xe16f) - +pretty-code-fira-code-font-name))) -#+END_SRC -This hook was given to me by our lord and saviour Henrik. Fixes a single font -issue I had with font ligatures. ** Oreomode #+BEGIN_SRC elisp (defun oreodave/oreomode() |