diff options
author | jdlugosz963 <jdlugosz963@gmail.com> | 2022-08-21 02:52:07 +0200 |
---|---|---|
committer | jdlugosz963 <jdlugosz963@gmail.com> | 2022-08-21 02:52:07 +0200 |
commit | 1f34dedae965df4d65224a50520f5275d37412a0 (patch) | |
tree | df6de0685746838cdfd839f8a9fe53d2f33c0053 | |
parent | 72c21307204f4dc6e23d667876976929ed79de03 (diff) | |
download | dotfiles-1f34dedae965df4d65224a50520f5275d37412a0.tar.gz dotfiles-1f34dedae965df4d65224a50520f5275d37412a0.zip |
Emacs: Stay clean
-rw-r--r-- | Emacs.org | 26 |
1 files changed, 25 insertions, 1 deletions
@@ -78,6 +78,30 @@ | |||
78 | 78 | ||
79 | #+end_src | 79 | #+end_src |
80 | 80 | ||
81 | * User information setup | ||
82 | |||
83 | #+begin_src emacs-lisp | ||
84 | |||
85 | (setq user-full-name "Jakub Dlugosz" | ||
86 | user-mail-address "jdlugosz963@gmail.com") | ||
87 | |||
88 | #+end_src | ||
89 | |||
90 | * Stay clean | ||
91 | |||
92 | #+begin_src emacs-lisp | ||
93 | |||
94 | (setq backup-directory-alist '(("." . "~/.cache/emacs/backup")) | ||
95 | backup-by-copying t | ||
96 | version-control t | ||
97 | delete-old-versions t | ||
98 | kept-new-versions 20 | ||
99 | kept-old-versions 5) | ||
100 | |||
101 | (setq user-emacs-directory "~/.cache/emacs") | ||
102 | |||
103 | #+end_src | ||
104 | |||
81 | * Package setup | 105 | * Package setup |
82 | 106 | ||
83 | #+begin_src emacs-lisp | 107 | #+begin_src emacs-lisp |
@@ -123,6 +147,7 @@ | |||
123 | #+begin_src emacs-lisp | 147 | #+begin_src emacs-lisp |
124 | 148 | ||
125 | (use-package undo-tree | 149 | (use-package undo-tree |
150 | :diminish | ||
126 | :config | 151 | :config |
127 | (setq undo-tree-auto-save-history nil) | 152 | (setq undo-tree-auto-save-history nil) |
128 | (global-undo-tree-mode 1)) | 153 | (global-undo-tree-mode 1)) |
@@ -160,7 +185,6 @@ | |||
160 | #+end_src | 185 | #+end_src |
161 | 186 | ||
162 | * UI Configuration | 187 | * UI Configuration |
163 | |||
164 | ** Basic UI setup | 188 | ** Basic UI setup |
165 | #+begin_src emacs-lisp | 189 | #+begin_src emacs-lisp |
166 | 190 | ||