diff options
author | Matthew Kosarek <mattkae@protonmail.com> | 2022-11-14 08:18:00 -0500 |
---|---|---|
committer | Matthew Kosarek <mattkae@protonmail.com> | 2022-11-14 08:18:00 -0500 |
commit | 15d2e336b16f32036fe054a89c89c962039b066f (patch) | |
tree | 2c6deb65b1c9efe63a12b5001d9389188215cbd7 | |
parent | 2645ecc57810a151303924781e983a8c9138cf10 (diff) |
Better save areas
-rw-r--r-- | README.md | 3 | ||||
-rw-r--r-- | lisp/general.el | 5 |
2 files changed, 7 insertions, 1 deletions
@@ -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 |