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