From b6c876a2c5b197e82a19b6f446fd4831bf6d5408 Mon Sep 17 00:00:00 2001 From: Curt Spark Date: Wed, 15 Apr 2020 03:36:43 +0100 Subject: [PATCH] Minor improvements --- config.org | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/config.org b/config.org index 23c56d7..f6233e5 100644 --- a/config.org +++ b/config.org @@ -410,3 +410,20 @@ Set Minor Mode as Global : (global-rainbow-mode 1) #+END_SRC +** Autosave +#+BEGIN_SRC emacs-lisp + (setq backup-directory-alist + `((".*" . ,temporary-file-directory))) + (setq auto-save-file-name-transforms + `((".*" ,temporary-file-directory t))) +#+END_SRC +** Global Revert Mode +#+BEGIN_SRC emacs-lisp + (global-auto-revert-mode t) +#+END_SRC +** Wind Move +Windmove is built into Emacs. It lets you move point from window to window using Shift and the arrow keys. This is easier to type than ‘C-x o’ when there are multiple windows open. +#+BEGIN_SRC emacs-lisp + (when (fboundp 'windmove-default-keybindings) + (windmove-default-keybindings)) +#+END_SRC