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")))
|
||||
#+end_src
|
||||
|
||||
* Backup Directory
|
||||
#+begin_src emacs-lisp
|
||||
(setq backup-directory-alist `(("." . ,(expand-file-name "backups" user-emacs-directory))))
|
||||
#+end_src
|
||||
|
||||
* Custom File
|
||||
This emacs feature is currently not used since a way to integrate this feature into this kind of configuration.
|
||||
#+begin_src emacs-lisp
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ this file/section configures the UI settings
|
|||
removing this stuff makes emacs looks more cleaner
|
||||
#+begin_src emacs-lisp
|
||||
(tool-bar-mode -1)
|
||||
(menu-bar-mode -1)
|
||||
(menu-bar-mode 1)
|
||||
(scroll-bar-mode -1)
|
||||
#+end_src
|
||||
|
||||
|
|
|
|||
|
|
@ -80,7 +80,6 @@ REST API Client in Emacs
|
|||
|
||||
* Eglot
|
||||
A simple package for LSP support
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(use-package eglot
|
||||
:config
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@
|
|||
|
||||
* Ido
|
||||
Ido is a autocomplete package for emacs' commands
|
||||
n
|
||||
#+begin_src emacs-lisp
|
||||
(use-package ido
|
||||
:config
|
||||
|
|
@ -92,6 +91,8 @@ a visualizer for Emacs' cool but confusing undo/history system
|
|||
#+begin_src emacs-lisp
|
||||
(use-package undo-tree
|
||||
:diminish
|
||||
:custom
|
||||
(undo-tree-history-directory-alist `(("." . ,(expand-file-name "cache" user-emacs-directory))) ".undo-tree files dir")
|
||||
:config
|
||||
(global-undo-tree-mode))
|
||||
#+end_src
|
||||
|
|
|
|||
Loading…
Reference in New Issue