aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'Emacs/.config/emacs')
-rw-r--r--Emacs/.config/emacs/config.org26
1 files changed, 10 insertions, 16 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org
index 7a4ca16..ddd0ce7 100644
--- a/Emacs/.config/emacs/config.org
+++ b/Emacs/.config/emacs/config.org
@@ -1,7 +1,7 @@
#+TITLE: Emacs configuration
#+AUTHOR: Oreodave
#+DESCRIPTION: My new Emacs configuration
-#+PROPERTY: header-args :tangle config.el
+#+PROPERTY: header-args :tangle config.el :comment link
#+OPTIONS: toc:nil
#+BEGIN_center
@@ -14,16 +14,14 @@ My configuration for vanilla Emacs
* Initial
** Who am I?
Set full name and mail address for use in a variety of applications,
-including encryption (ooooo);
+including encryption.
#+BEGIN_SRC emacs-lisp
(setq user-full-name "Aryadev Chavali"
user-mail-address "aryadev@aryadevchavali.com")
#+END_SRC
-** Setup alpha and yes-or-no-p
-This just sets the alpha to 85% and all yes or no questions to single
-letter responses.
+** All yes or no questions to y or n
+Sets yes or no questions to single letter responses.
#+BEGIN_SRC emacs-lisp
-(add-to-list 'default-frame-alist '(alpha . 85))
(fset 'yes-or-no-p 'y-or-n-p)
#+END_SRC
** Hs Minor mode
@@ -31,18 +29,14 @@ Turn on hs minor mode for all prog-mode.
#+BEGIN_SRC emacs-lisp
(add-hook 'prog-mode-hook #'hs-minor-mode)
#+END_SRC
-** Set backup directory
-Set the backup directory to =user-emacs-directory=/saves so I don't
-get those annoying '~' files.
+** Saving files
+Setup backup files at =user-emacs-directory/saves=, auto-revert mode
+for everything and save my place in a file if possible
#+BEGIN_SRC emacs-lisp
(setq backup-directory-alist `(("." . "~/.config/emacs/saves")))
-#+END_SRC
-** Turn off the bars
-Turn off all the bars, don't need them anymore!
-#+BEGIN_SRC emacs-lisp
-(tool-bar-mode -1)
-(scroll-bar-mode -1)
-(menu-bar-mode -1)
+(global-auto-revert-mode 1)
+(setq global-auto-revert-non-file-buffers nil
+ auto-revert-verbose nil)
#+END_SRC
** Themes
Load my custom "Grayscale" theme (look at [[file:Grayscale-theme.el][this file]]).