(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)))