diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2020-08-14 23:50:35 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2020-08-14 23:50:35 +0100 |
commit | 76bf20d3584a975af819365e6df3296fdddd83d5 (patch) | |
tree | f060384a499ef9a78fc29288387cf7fa9cd6076e /Emacs/.config/emacs | |
parent | d1cbadbf2294a7eb1ea11087af2801946be773d6 (diff) | |
download | dotfiles-76bf20d3584a975af819365e6df3296fdddd83d5.tar.gz dotfiles-76bf20d3584a975af819365e6df3296fdddd83d5.tar.bz2 dotfiles-76bf20d3584a975af819365e6df3296fdddd83d5.zip |
~clean up prose, remove any stuff that early-init.el does
Diffstat (limited to 'Emacs/.config/emacs')
-rw-r--r-- | Emacs/.config/emacs/config.org | 26 |
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]]). |