From 6471690782e9ceb843abd21bccf597b8490af9f6 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 25 Feb 2023 20:43:17 -0500 Subject: [PATCH] perf(org): disable auto-reformat/update for tables/cookies These two can *significantly* slow down larger org buffers for evil users, when switching modes (e.g. leaving insert/replace mode), so I am removing these if/when I find a better alternative. Though, they can still be done manually with `C-c C-c` (for cookies) and `TAB` in tables. --- modules/lang/org/config.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/lang/org/config.el b/modules/lang/org/config.el index f165445c7..9869fd5c5 100644 --- a/modules/lang/org/config.el +++ b/modules/lang/org/config.el @@ -1350,8 +1350,8 @@ between the two." #'doom-disable-show-paren-mode-h ;; disable `show-trailing-whitespace'; shows a lot of false positives #'doom-disable-show-trailing-whitespace-h - #'+org-enable-auto-reformat-tables-h - #'+org-enable-auto-update-cookies-h + ;; #'+org-enable-auto-reformat-tables-h + ;; #'+org-enable-auto-update-cookies-h #'+org-make-last-point-visible-h) (add-hook! 'org-load-hook