save backup and undo-tree files somewhere else
This commit is contained in:
parent
bffcee2c6c
commit
4eea3f9d46
|
|
@ -16,6 +16,11 @@ set the directory for emacs and it's apps to put stuff.
|
||||||
(expand-file-name "emacs" (safe-getenv "XDG_DATA_HOME" "~/.local/share")))
|
(expand-file-name "emacs" (safe-getenv "XDG_DATA_HOME" "~/.local/share")))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
* Backup Directory
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(setq backup-directory-alist `(("." . ,(expand-file-name "backups" user-emacs-directory))))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
* Custom File
|
* Custom File
|
||||||
This emacs feature is currently not used since a way to integrate this feature into this kind of configuration.
|
This emacs feature is currently not used since a way to integrate this feature into this kind of configuration.
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ this file/section configures the UI settings
|
||||||
removing this stuff makes emacs looks more cleaner
|
removing this stuff makes emacs looks more cleaner
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(tool-bar-mode -1)
|
(tool-bar-mode -1)
|
||||||
(menu-bar-mode -1)
|
(menu-bar-mode 1)
|
||||||
(scroll-bar-mode -1)
|
(scroll-bar-mode -1)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -80,7 +80,6 @@ REST API Client in Emacs
|
||||||
|
|
||||||
* Eglot
|
* Eglot
|
||||||
A simple package for LSP support
|
A simple package for LSP support
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package eglot
|
(use-package eglot
|
||||||
:config
|
:config
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@
|
||||||
|
|
||||||
* Ido
|
* Ido
|
||||||
Ido is a autocomplete package for emacs' commands
|
Ido is a autocomplete package for emacs' commands
|
||||||
n
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package ido
|
(use-package ido
|
||||||
:config
|
:config
|
||||||
|
|
@ -92,6 +91,8 @@ a visualizer for Emacs' cool but confusing undo/history system
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package undo-tree
|
(use-package undo-tree
|
||||||
:diminish
|
:diminish
|
||||||
|
:custom
|
||||||
|
(undo-tree-history-directory-alist `(("." . ,(expand-file-name "cache" user-emacs-directory))) ".undo-tree files dir")
|
||||||
:config
|
:config
|
||||||
(global-undo-tree-mode))
|
(global-undo-tree-mode))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue