From c556226e159c9f385ca12fdf8caed718c926b301 Mon Sep 17 00:00:00 2001 From: Frederik Vanrenterghem Date: Sun, 11 Jun 2023 14:28:11 +0800 Subject: [PATCH 1/1] Enable company mode; install magit and auctex. --- emacs/.emacs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/emacs/.emacs b/emacs/.emacs index 6f71da3..962443b 100644 --- a/emacs/.emacs +++ b/emacs/.emacs @@ -10,6 +10,9 @@ ;; ESS - for working in R (autoload 'R-mode "ess-site.el" "Major mode for editing R source." t) +;; enable autocomplete +(add-hook 'after-init-hook 'global-company-mode) + (require 'org) ;; Auctex @@ -60,7 +63,7 @@ ;; If there is more than one, they won't work right. '(org-export-backends '(ascii html icalendar latex md odt)) '(package-selected-packages - '(lsp-mode elpy ## org htmlize leuven-theme lua-mode ess-smart-underscore ess-R-data-view ess))) + '(company magit auctex lsp-mode elpy ## org htmlize leuven-theme lua-mode ess-smart-underscore ess-R-data-view ess))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. -- 2.39.5