 
 ;; Keep backups and autosaves in /tmp
 (setq backup-directory-alist
-      `((".*" . ,temporary-file-directory)))
+      `(("." . ,temporary-file-directory)))
 (setq auto-save-file-name-transforms
       `((".*" ,temporary-file-directory t)))
 

		  (lambda ()
			(set (make-local-variable 'sgml-basic-offset) 4)))

;; load .el files in .emacs.d//lisp
(add-to-list 'load-path (concat user-emacs-directory "lisp"))
(require 'mode-line)

;; Straight.el package manager
;;============================


;; install packages
(straight-use-package 'use-package)

;; better, vim-like keybindings
(use-package general
  :straight t
  :demand
  :config
  (general-create-definer tn/leader-def
	:keymaps 'override
	:prefix "SPC"))

;; base16 themes for emacs
(use-package base16-theme
  :straight t
