,@args))
#+end_src
+While at it, let's exclude =straight.el='s build from recentf:
+
+#+begin_src emacs-lisp
+(with-eval-after-load 'recentf
+ (add-to-list 'recentf-exclude
+ (expand-file-name "~/.emacs.d/straight/build/")))
+#+end_src
+
Also, here's a useful function for reloading the init file (useful
after running =straight-check-all=:
("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
t)
(require 'ox-beamer))
+
+(use-feature ox-extra
+ :config
+ (ox-extras-activate '(latex-header-blocks ignore-headlines)))
#+end_src
**** asynchronous tangle
([S-down] . ivy-next-history-element)
("DEL" . ivy-backward-delete-char))
:config
- (setq ivy-wrap t)
+ (setq ivy-wrap t
+ ivy-height 14
+ ivy-use-virtual-buffers t
+ ivy-virtual-abbreviate 'abbreviate
+ ivy-count-format "%d/%d ")
(ivy-mode 1)
;; :custom-face
;; (ivy-minibuffer-match-face-2 ((t (:background "#e99ce8" :weight semi-bold))))
:after ivy
:bind (([remap execute-extended-command] . counsel-M-x)
([remap find-file] . counsel-find-file)
- ("s-r" . counsel-recentf)
("C-c x" . counsel-M-x)
("C-c f ." . counsel-find-file)
+ ("C-c f l" . counsel-find-library)
:map minibuffer-local-map
("C-r" . counsel-minibuffer-history))
:config
(defalias 'locate #'counsel-locate))
#+end_src
+*** COMMENT Helm
+
+#+begin_src emacs-lisp
+(use-package helm
+ :commands (helm-M-x helm-mini helm-resume)
+ :bind (("M-x" . helm-M-x)
+ ("M-y" . helm-show-kill-ring)
+ ("C-x b" . helm-mini)
+ ("C-x C-b" . helm-buffers-list)
+ ("C-x C-f" . helm-find-files)
+ ("C-h r" . helm-info-emacs)
+ ("s-r" . helm-recentf)
+ ("C-s-r" . helm-resume)
+ :map helm-map
+ ("<tab>" . helm-execute-persistent-action)
+ ("C-i" . helm-execute-persistent-action) ; Make TAB work in terminals
+ ("C-z" . helm-select-action)) ; List actions
+ :config (helm-mode 1))
+#+end_src
+
*** eshell
#+begin_src emacs-lisp
(use-package guix)
#+end_src
+** COMMENT TeX
+
+#+begin_src emacs-lisp
+(use-package auctex
+ :custom
+ (font-latex-fontify-sectioning 'color))
+#+end_src
+
* Emacs enhancements
:PROPERTIES:
:CUSTOM_ID: emacs-enhancements
:config
(require 'ebdb)
(require 'ebdb-mua)
- (require 'ebdb-gnus))
+ (require 'ebdb-gnus)
+
+ (with-eval-after-load 'recentf
+ (add-to-list 'recentf-exclude gnus-home-directory)))
(use-feature gnus-art
:config