aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/rul-init.d/auto-fill.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/rul-init.d/auto-fill.el')
-rw-r--r--.emacs.d/rul-init.d/auto-fill.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/.emacs.d/rul-init.d/auto-fill.el b/.emacs.d/rul-init.d/auto-fill.el
new file mode 100644
index 0000000..dad2831
--- /dev/null
+++ b/.emacs.d/rul-init.d/auto-fill.el
@@ -0,0 +1,4 @@
+;; auto-fill mode
+(add-hook 'text-mode-hook 'turn-on-auto-fill)
+(global-set-key (kbd "C-c q") 'auto-fill-mode)
+
nihil fit ex nihilo