Minor edits

This commit is contained in:
Derek Taylor
2023-08-20 16:24:41 -05:00
parent ccc345e57b
commit cd06b1fa87
4 changed files with 81 additions and 37 deletions

View File

@@ -11,6 +11,8 @@
(use-package all-the-icons-dired
:hook (dired-mode . (lambda () (all-the-icons-dired-mode t))))
(global-auto-revert-mode t)
(setq backup-directory-alist '((".*" . "~/.Trash")))
(use-package company

View File

@@ -9,6 +9,7 @@
- [[#adding-the-scripts-directory-to-path][Adding the scripts directory to path]]
- [[#sourcing-the-scripts][Sourcing the scripts]]
- [[#all-the-icons][ALL THE ICONS]]
- [[#auto-revert-mode][AUTO REVERT MODE]]
- [[#backup][BACKUP]]
- [[#company][COMPANY]]
- [[#dashboard][DASHBOARD]]
@@ -79,6 +80,14 @@ This is an icon set that can be used with dashboard, dired, ibuffer and other Em
:hook (dired-mode . (lambda () (all-the-icons-dired-mode t))))
#+end_src
* AUTO REVERT MODE
By default, Emacs does not automatically show the changes in a file that has been edited in a different program. So if you have =file1= open in Emacs, and then also edit =file1= via the command line or another text editor, the Emacs buffer does not reflect those changes. The following line corrects this problem.
#+begin_src emacs-lisp
(global-auto-revert-mode t)
#+end_src
* BACKUP
By default, Emacs creates automatic backups of files in their original directories, such "file.el" and the backup "file.el~". This leads to a lot of clutter, so let's tell Emacs to put all backups that it creates in the =TRASH= directory.