mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-23 11:30:23 +10:00
Minor edits
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user