all repos — nixfiles @ 8eeadd7d1930abb31a330f14f2735a10584998da

System and user configuration, managed by nix and home-manager

Emacs: Configure easy-hugo

Alan Pearce
commit

8eeadd7d1930abb31a330f14f2735a10584998da

parent

c215cfcd4d857aba68b70fbf5c8f3131d2763911

1 file changed, 11 insertions(+), 0 deletions(-)

jump to
M emacs/.emacs.d/init.orgemacs/.emacs.d/init.org
@@ -1040,6 +1040,17 @@ ("S-<right>" . windmove-right)
("S-<up>" . windmove-up) ("S-<down>" . windmove-down))) #+END_SRC +* Blogging + +I have a [[https://alanpearce.uk][blog]] that I publish with hugo. + +#+BEGIN_SRC emacs-lisp +(use-package easy-hugo + :config (setq easy-hugo-basedir (car (split-string (shell-command-to-string "ghq list --full-path alanpearce.uk"))) + easy-hugo-url "https://alanpearce.uk" + easy-hugo-default-ext ".md")) +#+END_SRC + * Completion Make built-in completion a bit more intelligent, by adding substring