(setq display-fill-column-indicator-column 80)
(global-display-fill-column-indicator-mode)
#+end_src
-** Keybinding hints
-When starting a key chord, show possible future steps after 0.3 seconds.
-#+begin_src emacs-lisp
- (use-package which-key
- :config (which-key-mode)
- :custom (which-key-idle-delay 0.3))
-#+end_src
** Highlight todo items in comments
#+begin_src emacs-lisp
(use-package hl-todo
(global-visual-line-mode 1)
(dolist (hook '(prog-mode-hook
calc-trail-mode-hook
+ org-agenda-mode-hook
mu4e-headers-mode-hook))
(add-hook hook (lambda () (visual-line-mode -1))))
#+end_src
(defun sync-calendar ()
"Sync calendars with vdirsyncer"
(interactive)
- (shell-command "vdirsyncer -vcritical sync"))
+ (async-shell-command "vdirsyncer sync"))
(use-package calfw
:bind (:map cfw:calendar-mode-map ("C-S-u" . sync-calendar)))