mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-22 02:50:24 +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.
|
||||
|
||||
|
||||
@@ -69,25 +69,25 @@ format-offset =
|
||||
; 9. SolarizedLight
|
||||
; 10. TomorrowNight
|
||||
|
||||
background = ${DoomOne.background}
|
||||
foreground = ${DoomOne.foreground}
|
||||
color0 = ${DoomOne.color0}
|
||||
color1 = ${DoomOne.color1}
|
||||
color2 = ${DoomOne.color2}
|
||||
color3 = ${DoomOne.color3}
|
||||
color4 = ${DoomOne.color4}
|
||||
color5 = ${DoomOne.color5}
|
||||
color6 = ${DoomOne.color6}
|
||||
color7 = ${DoomOne.color7}
|
||||
color8 = ${DoomOne.color8}
|
||||
color9 = ${DoomOne.color9}
|
||||
color10 = ${DoomOne.color10}
|
||||
color11 = ${DoomOne.color11}
|
||||
color12 = ${DoomOne.color12}
|
||||
color13 = ${DoomOne.color13}
|
||||
color14 = ${DoomOne.color14}
|
||||
color15 = ${DoomOne.color15}
|
||||
alert = ${DoomOne.color1}
|
||||
background = ${GruvboxDark.background}
|
||||
foreground = ${GruvboxDark.foreground}
|
||||
color0 = ${GruvboxDark.color0}
|
||||
color1 = ${GruvboxDark.color1}
|
||||
color2 = ${GruvboxDark.color2}
|
||||
color3 = ${GruvboxDark.color3}
|
||||
color4 = ${GruvboxDark.color4}
|
||||
color5 = ${GruvboxDark.color5}
|
||||
color6 = ${GruvboxDark.color6}
|
||||
color7 = ${GruvboxDark.color7}
|
||||
color8 = ${GruvboxDark.color8}
|
||||
color9 = ${GruvboxDark.color9}
|
||||
color10 = ${GruvboxDark.color10}
|
||||
color11 = ${GruvboxDark.color11}
|
||||
color12 = ${GruvboxDark.color12}
|
||||
color13 = ${GruvboxDark.color13}
|
||||
color14 = ${GruvboxDark.color14}
|
||||
color15 = ${GruvboxDark.color15}
|
||||
alert = ${GruvboxDark.color1}
|
||||
|
||||
[DoomOne]
|
||||
background = #282c34
|
||||
@@ -305,8 +305,8 @@ fixed-center = true
|
||||
bottom = false
|
||||
separator =
|
||||
|
||||
background = ${DoomOne.background}
|
||||
foreground = ${DoomOne.foreground}
|
||||
background = ${GruvboxDark.background}
|
||||
foreground = ${GruvboxDark.foreground}
|
||||
|
||||
line-size = 2
|
||||
line-color = #f00
|
||||
@@ -371,8 +371,8 @@ height = 20
|
||||
;offset-x = 1%
|
||||
;offset-y = 1%
|
||||
|
||||
background = ${DoomOne.background}
|
||||
foreground = ${DoomOne.foreground}
|
||||
background = ${GruvboxDark.background}
|
||||
foreground = ${GruvboxDark.foreground}
|
||||
|
||||
; Background gradient (vertical steps)
|
||||
; background-[0-9]+ = #aarrggbb
|
||||
@@ -460,8 +460,8 @@ fixed-center = true
|
||||
bottom = false
|
||||
separator =
|
||||
|
||||
background = ${DoomOne.background}
|
||||
foreground = ${DoomOne.foreground}
|
||||
background = ${GruvboxDark.background}
|
||||
foreground = ${GruvboxDark.foreground}
|
||||
|
||||
line-size = 2
|
||||
line-color = #f00
|
||||
@@ -526,8 +526,8 @@ fixed-center = true
|
||||
bottom = false
|
||||
separator =
|
||||
|
||||
background = ${DoomOne.background}
|
||||
foreground = ${DoomOne.foreground}
|
||||
background = ${GruvboxDark.background}
|
||||
foreground = ${GruvboxDark.foreground}
|
||||
|
||||
line-size = 2
|
||||
line-color = #f00
|
||||
|
||||
Reference in New Issue
Block a user