Minor improvements

This commit is contained in:
Curt Spark 2020-04-15 03:36:43 +01:00
parent de0b12bc04
commit b6c876a2c5
1 changed files with 17 additions and 0 deletions

View File

@ -410,3 +410,20 @@ Set Minor Mode as Global :
(global-rainbow-mode 1) (global-rainbow-mode 1)
#+END_SRC #+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