summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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