diff options
author | bd <bdunahu@colostate.edu> | 2024-02-02 01:55:31 -0700 |
---|---|---|
committer | bd <bdunahu@colostate.edu> | 2024-02-02 01:55:31 -0700 |
commit | 37aa6d06228bab0d67b0b7d9d2569e00f94f78ec (patch) | |
tree | 17f80ac0464fef7be18b6a59bf228206b7e233f4 /.config/emacs/modules/bd--essentials.el | |
parent | d0540e3258368c425336bb5585b10ace48bdb6c0 (diff) |
Temporary changes to cleanup function
Diffstat (limited to '.config/emacs/modules/bd--essentials.el')
-rw-r--r-- | .config/emacs/modules/bd--essentials.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.config/emacs/modules/bd--essentials.el b/.config/emacs/modules/bd--essentials.el index 483fd25..7b046f7 100644 --- a/.config/emacs/modules/bd--essentials.el +++ b/.config/emacs/modules/bd--essentials.el @@ -19,6 +19,7 @@ ;; basic editing (setopt kill-whole-line t sentence-end-double-space nil) +(setq-default tab-width 4) (global-hl-line-mode 1) (global-visual-line-mode t) @@ -31,7 +32,7 @@ on save." (defun bd/cleanup-buffer () (interactive) (delete-trailing-whitespace) - (untabify (point-min) (point-max)) + ;; (tabify (point-min) (point-max)) (indent-region (point-min) (point-max))) (setopt next-line-add-newlines t) @@ -40,7 +41,8 @@ on save." ;;;; buffers (global-auto-revert-mode 1) -(setopt global-auto-revert-non-file-buffers t) +(setopt global-auto-revert-non-file-buffers t + auto-revert-interval 30) (winner-mode 1) (setopt scroll-up-aggressively '0.65 scroll-down-aggressively '0.65) |