From 15d2e336b16f32036fe054a89c89c962039b066f Mon Sep 17 00:00:00 2001 From: Matthew Kosarek Date: Mon, 14 Nov 2022 08:18:00 -0500 Subject: Better save areas --- README.md | 3 +++ lisp/general.el | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1