diff options
Diffstat (limited to 'settings/setup-txt-mode.el')
| -rw-r--r-- | settings/setup-txt-mode.el | 24 |
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 |
