Load vterm manually if needed

This commit is contained in:
2025-10-02 23:04:27 +09:00
parent 6331f5b391
commit e6d295c1c2

View File

@@ -18,9 +18,12 @@
;; Pixel perfect scrolling ;; Pixel perfect scrolling
(pixel-scroll-precision-mode) (pixel-scroll-precision-mode)
;; Display time ;; Display time
(display-time-mode) (display-time-mode)
(show-paren-mode +1) ; Paren match highlighting (show-paren-mode +1) ; Paren match highlighting
;; Winner mode is a global minor mode that records the changes in the ;; Winner mode is a global minor mode that records the changes in the
;; window configuration (i.e. how the frames are partitioned into ;; window configuration (i.e. how the frames are partitioned into
;; windows) so that the changes can be "undone" using the command ;; windows) so that the changes can be "undone" using the command
@@ -107,4 +110,11 @@
;; and use 'C' to copy the file/directory. ;; and use 'C' to copy the file/directory.
(setq dired-dwim-target t) (setq dired-dwim-target t)
;; As vterm requires a compiled part, on NixOS its installation is handled by
;; the system configuration. However, for some reason, after some update emacs
;; stopped loading it automatically. So, to remedy that, we load it if it was
;; not already loaded.
(unless (memq 'vterm features)
(load "vterm" nil t))
;;; 05-basic.el ends here ;;; 05-basic.el ends here