summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kosarek <mattkae@protonmail.com>2022-11-14 08:18:00 -0500
committerMatthew Kosarek <mattkae@protonmail.com>2022-11-14 08:18:00 -0500
commit15d2e336b16f32036fe054a89c89c962039b066f (patch)
tree2c6deb65b1c9efe63a12b5001d9389188215cbd7
parent2645ecc57810a151303924781e983a8c9138cf10 (diff)
Better save areas
-rw-r--r--README.md3
-rw-r--r--lisp/general.el5
2 files changed, 7 insertions, 1 deletions
diff --git a/README.md b/README.md
index da44461..75241df 100644
--- a/README.md
+++ b/README.md
@@ -3,6 +3,9 @@ Emacs configuration file
## Keybinds
### General
+- Copy: `M-w`
+- Cut: `C-w`
+- Paste: `C-y`
- Jump to symbol: `C-]` or `gd`
- Jump back from symbol: `C-o`
- Open project: `s-o`
diff --git a/lisp/general.el b/lisp/general.el
index 09f2afc..617b035 100644
--- a/lisp/general.el
+++ b/lisp/general.el
@@ -2,7 +2,10 @@
;;; Code:
;; Backup files
-(setq backup-directory-alist `(("." . "~/.emacs_saves")))
+(setq backup-directory-alist
+ `((".*" . ,temporary-file-directory)))
+(setq auto-save-file-name-transforms
+ `((".*" ,temporary-file-directory t)))
(setq backup-by-copying t)
(setq delete-old-versions t
kept-new-versions 6