aboutsummaryrefslogtreecommitdiff
path: root/gui/conf
diff options
context:
space:
mode:
authorAdrian Kummerlaender2020-07-21 00:06:47 +0200
committerAdrian Kummerlaender2020-07-21 00:06:47 +0200
commit60fdf818d2eef110f7f524465685b70a3406a5f5 (patch)
treefd939159fddf3eef0d73267cf8c5a46b262bd295 /gui/conf
parent70f513c463c71afe8bc76104bb3664a512461abb (diff)
downloadnixos_home-60fdf818d2eef110f7f524465685b70a3406a5f5.tar
nixos_home-60fdf818d2eef110f7f524465685b70a3406a5f5.tar.gz
nixos_home-60fdf818d2eef110f7f524465685b70a3406a5f5.tar.bz2
nixos_home-60fdf818d2eef110f7f524465685b70a3406a5f5.tar.lz
nixos_home-60fdf818d2eef110f7f524465685b70a3406a5f5.tar.xz
nixos_home-60fdf818d2eef110f7f524465685b70a3406a5f5.tar.zst
nixos_home-60fdf818d2eef110f7f524465685b70a3406a5f5.zip
Improve GC behaviour
Seems to fix sporadic type lagg when editing e.g. large heavily fontified org buffers.
Diffstat (limited to 'gui/conf')
-rw-r--r--gui/conf/init.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/conf/init.el b/gui/conf/init.el
index 5f72c5f..3939dd1 100644
--- a/gui/conf/init.el
+++ b/gui/conf/init.el
@@ -71,6 +71,11 @@
(load-library "custom-runtime-env")
(load-library "akr-theme")
+(use-package gcmh ; noticeably reduces unwanted GC pauses when editing e.g. large fancy org files
+ :ensure t
+ :config
+ (gcmh-mode 1))
+
(use-package evil-leader
:ensure t
:init