diff options
author | Vincent Ambo <mail@tazj.in> | 2023-12-02T19·42+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2023-12-02T20·58+0000 |
commit | 696d02ab160dd35f51ed19ed61cf13ffbf298597 (patch) | |
tree | 1e6544c94b8eedafeab47ee8a01e96d752da30b5 /users/tazjin/emacs/config/modes.el | |
parent | 3d618cdfdc4c3f74245370d294c0a1a49f38e92e (diff) |
chore(tazjin/emacs): minor configuration cleanups r/7109
Deletes some stuff that I think isn't necessary anymore, and consolidates the modes.el content into settings.el. Change-Id: Ib682dbdb4eb89b3a7ee2eca89da4151af806a508 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10187 Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
Diffstat (limited to 'users/tazjin/emacs/config/modes.el')
-rw-r--r-- | users/tazjin/emacs/config/modes.el | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/users/tazjin/emacs/config/modes.el b/users/tazjin/emacs/config/modes.el deleted file mode 100644 index 1936365e5bdb..000000000000 --- a/users/tazjin/emacs/config/modes.el +++ /dev/null @@ -1,32 +0,0 @@ -;; Initializes modes I use. - -(add-hook 'prog-mode-hook 'esk-add-watchwords) -(add-hook 'prog-mode-hook 'hl-line-mode) - -;; Use auto-complete as completion at point -;; TODO(tazjin): what is this? -(defun set-auto-complete-as-completion-at-point-function () - (setq completion-at-point-functions '(auto-complete))) - -(add-hook 'auto-complete-mode-hook - 'set-auto-complete-as-completion-at-point-function) - -;; Enable rainbow-delimiters for all things programming -(add-hook 'prog-mode-hook 'rainbow-delimiters-mode) - -;; Always highlight matching brackets -(show-paren-mode 1) - -;; Always auto-close parantheses and other pairs -(electric-pair-mode) - -;; Keep track of recent files -(recentf-mode) - -;; Easily navigate sillycased words -(global-subword-mode 1) - -;; Transparently open compressed files -(auto-compression-mode t) - -(provide 'modes) |