summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <amin@aminb.org>2018-07-22 16:39:28 -0400
committerAmin Bandali <amin@aminb.org>2018-07-22 16:39:28 -0400
commit893944495bbf6e0ae7936924d56db4ac931412bc (patch)
treeb6e146d4aca88967f9fd7f2094994b62b1efbef5
parent683f2865a99fc6ca55fbf9c71f1318149a2527c4 (diff)
downloadconfigs-893944495bbf6e0ae7936924d56db4ac931412bc.tar.gz
configs-893944495bbf6e0ae7936924d56db4ac931412bc.tar.xz
configs-893944495bbf6e0ae7936924d56db4ac931412bc.zip
[emacs] enable auto-revert and always use 4 spaces for indentation
-rw-r--r--init.org19
1 files changed, 19 insertions, 0 deletions
diff --git a/init.org b/init.org
index 69ae88f..fe307b6 100644
--- a/init.org
+++ b/init.org
@@ -565,6 +565,25 @@ variable.
version-control t)
#+end_src
+*** Auto revert
+
+Enable automatic reloading of changed buffers and files.
+
+#+begin_src emacs-lisp
+(global-auto-revert-mode 1)
+(setq auto-revert-verbose nil
+ global-auto-revert-non-file-buffers t)
+#+end_src
+
+*** Always use space for indentation
+
+#+begin_src emacs-lisp
+(setq-default
+ indent-tabs-mode nil
+ require-final-newline t
+ tab-width 4)
+#+end_src
+
** Packages
The packages in this section are absolutely essential to my everyday