summaryrefslogtreecommitdiff
path: root/settings/setup-txt-mode.el
diff options
context:
space:
mode:
authorbenj <benj@rse8.com>2023-11-25 10:02:42 -0800
committerbenj <benj@rse8.com>2023-11-25 10:02:42 -0800
commit4cfa8246ea7eec4139ba6c34d3fb3a4545956824 (patch)
tree450ba709847d3740eef79753c428095bdb08fe62 /settings/setup-txt-mode.el
parent4f78ee33bfc828707a79cd79d296bf4a9c25b5b9 (diff)
downloademacs-4cfa8246ea7eec4139ba6c34d3fb3a4545956824.tar
emacs-4cfa8246ea7eec4139ba6c34d3fb3a4545956824.tar.gz
emacs-4cfa8246ea7eec4139ba6c34d3fb3a4545956824.tar.bz2
emacs-4cfa8246ea7eec4139ba6c34d3fb3a4545956824.tar.lz
emacs-4cfa8246ea7eec4139ba6c34d3fb3a4545956824.tar.xz
emacs-4cfa8246ea7eec4139ba6c34d3fb3a4545956824.tar.zst
emacs-4cfa8246ea7eec4139ba6c34d3fb3a4545956824.zip
rewrite emacs init.el and go back to basics
This is a complete rewrite leveraging the very popular use-package to see how I like it. We reduce init.el to a bare minimum configuration and remove the previous homebrew organizational scheme. A number of packages have yet to be setup, but we'll wait and do in JIT.
Diffstat (limited to 'settings/setup-txt-mode.el')
-rw-r--r--settings/setup-txt-mode.el24
1 files changed, 0 insertions, 24 deletions
diff --git a/settings/setup-txt-mode.el b/settings/setup-txt-mode.el
deleted file mode 100644
index 6715e20..0000000
--- a/settings/setup-txt-mode.el
+++ /dev/null
@@ -1,24 +0,0 @@
-;;; setup-txt-mode.el --- basic txt mode config -*- lexical-binding: t; -*-
-
-;;; Commentary:
-
-;; Basic text mode config
-
-;;; Code:
-
-(defun setup-margins ()
- "Setup margins for text mode."
- (setq left-margin-width 20)
- (setq right-margin-width 20))
-
-(defun text-configs ()
- "Setup basic text configs"
- (visual-line-mode t)
- (flyspell-mode t)
- (setup-margins))
-
-(add-to-list 'auto-mode-alist '("README\\'" . text-mode))
-(add-hook 'text-mode-hook 'text-configs)
-
-(provide 'setup-txt-mode)
-;;; setup-txt-mode.el ends here