]> git.armaanb.net Git - config.org.git/blobdiff - config.org
Don't use visual line mode in org agenda
[config.org.git] / config.org
index deb9c1700823bc0ae0e5fe87a285a04314b452f6..87a9ff3162cc221abe107ef4b9b25e644a26ab6a 100644 (file)
@@ -143,6 +143,7 @@ Soft wrap words and do operations by visual lines except in programming modes.
   (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
@@ -497,7 +498,7 @@ Still experimenting with this setup. Not sure if I will keep it, but it works we
   (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)))