~clean up prose, remove any stuff that early-init.el does
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
#+TITLE: Emacs configuration
|
#+TITLE: Emacs configuration
|
||||||
#+AUTHOR: Oreodave
|
#+AUTHOR: Oreodave
|
||||||
#+DESCRIPTION: My new Emacs configuration
|
#+DESCRIPTION: My new Emacs configuration
|
||||||
#+PROPERTY: header-args :tangle config.el
|
#+PROPERTY: header-args :tangle config.el :comment link
|
||||||
#+OPTIONS: toc:nil
|
#+OPTIONS: toc:nil
|
||||||
|
|
||||||
#+BEGIN_center
|
#+BEGIN_center
|
||||||
@@ -14,16 +14,14 @@ My configuration for vanilla Emacs
|
|||||||
* Initial
|
* Initial
|
||||||
** Who am I?
|
** Who am I?
|
||||||
Set full name and mail address for use in a variety of applications,
|
Set full name and mail address for use in a variety of applications,
|
||||||
including encryption (ooooo);
|
including encryption.
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(setq user-full-name "Aryadev Chavali"
|
(setq user-full-name "Aryadev Chavali"
|
||||||
user-mail-address "aryadev@aryadevchavali.com")
|
user-mail-address "aryadev@aryadevchavali.com")
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** Setup alpha and yes-or-no-p
|
** All yes or no questions to y or n
|
||||||
This just sets the alpha to 85% and all yes or no questions to single
|
Sets yes or no questions to single letter responses.
|
||||||
letter responses.
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(add-to-list 'default-frame-alist '(alpha . 85))
|
|
||||||
(fset 'yes-or-no-p 'y-or-n-p)
|
(fset 'yes-or-no-p 'y-or-n-p)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** Hs Minor mode
|
** Hs Minor mode
|
||||||
@@ -31,18 +29,14 @@ Turn on hs minor mode for all prog-mode.
|
|||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(add-hook 'prog-mode-hook #'hs-minor-mode)
|
(add-hook 'prog-mode-hook #'hs-minor-mode)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** Set backup directory
|
** Saving files
|
||||||
Set the backup directory to =user-emacs-directory=/saves so I don't
|
Setup backup files at =user-emacs-directory/saves=, auto-revert mode
|
||||||
get those annoying '~' files.
|
for everything and save my place in a file if possible
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(setq backup-directory-alist `(("." . "~/.config/emacs/saves")))
|
(setq backup-directory-alist `(("." . "~/.config/emacs/saves")))
|
||||||
#+END_SRC
|
(global-auto-revert-mode 1)
|
||||||
** Turn off the bars
|
(setq global-auto-revert-non-file-buffers nil
|
||||||
Turn off all the bars, don't need them anymore!
|
auto-revert-verbose nil)
|
||||||
#+BEGIN_SRC emacs-lisp
|
|
||||||
(tool-bar-mode -1)
|
|
||||||
(scroll-bar-mode -1)
|
|
||||||
(menu-bar-mode -1)
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** Themes
|
** Themes
|
||||||
Load my custom "Grayscale" theme (look at [[file:Grayscale-theme.el][this file]]).
|
Load my custom "Grayscale" theme (look at [[file:Grayscale-theme.el][this file]]).
|
||||||
|
|||||||
Reference in New Issue
Block a user