:hook ((mu4e-compose-mode . flyspell-mode)
(mu4e-view-mode-hook . turn-on-visual-line-mode)))
#+end_src
-** Calendar
-#+begin_src emacs-lisp
- (use-package calfw)
- (use-package calfw-org)
- (use-package calfw-ical)
-
- (defun acheam-calendar ()
- "Open a calendar."
- (interactive)
- (shell-command "vdirsyncer sync")
- (let ((default-directory "~/.local/share/vdirsyncer/"))
- (cfw:open-calendar-buffer
- :contents-sources
- (list
- (cfw:ical-create-source "School" (expand-file-name "school/abhojwani22@nobles.edu.ics") "Green")
- (cfw:ical-create-source "Personal" (expand-file-name "mailbox/Y2FsOi8vMC8zMQ.ics") "Blue")
- (cfw:ical-create-source "Birthdays" (expand-file-name "mailbox/Y2FsOi8vMS8w.ics") "Gray")
- ))))
-#+end_src
-** IRC
-Another file has more specific network configuration.
-#+begin_src emacs-lisp
- (use-package circe
- :config (load-file "~/.emacs.d/irc.el"))
-
- (use-package circe-chanop
- :straight (:type built-in)
- :after circe)
-
- (use-package circe-color-nicks
- :straight (:type built-in)
- :after circe)
-#+end_src
** Default browser
Set EWW as default browser except for videos.
#+begin_src emacs-lisp
#+begin_src emacs-lisp
(use-package emacs-everywhere)
#+end_src
-** Eshell
-#+begin_src emacs-lisp
- (setq eshell-prompt-function
- (lambda nil
- (propertize (concat
- "\n" (eshell/pwd) " ➤ ")
- 'face '(:foreground "cyan")))
- eshell-highlight-prompt nil)
-#+end_src
* Emacs IDE
** Code cleanup
#+begin_src emacs-lisp