 (setq uniquify-after-kill-buffer-p t)    ; rename after killing uniquified
 (setq uniquify-ignore-buffers-re "^\\*") ; don't muck with special buffers
 
-;; saveplace: save location in file when saving files
-(setq save-place-file "~/.emacs.d/saveplace")
-(setq-default save-place t)            ;; activate it for all buffers
-(require 'saveplace)                   ;; get the package
+;; saveplace remembers your location in a file when saving files
+(setq save-place-file (concat user-emacs-directory "saveplace"))
+;; activate it for all buffers
+(setq-default save-place t)
+(require 'saveplace)
 
-;; savehist: save some history
-(setq savehist-additional-variables    ;; also save...
-      '(search ring regexp-search-ring)    ;; ... my search entries
-      savehist-autosave-interval 60        ;; save every minute (default: 5 min)
-      savehist-file (concat "~/.emacs.d" "/savehist"))   ;; keep my home clean
-(savehist-mode t)                      ;; do customization before activation
+;; savehist keeps track of some history
+(setq savehist-additional-variables
+      ;; search entries
+      '(search ring regexp-search-ring)
+      ;; save every minute
+      savehist-autosave-interval 60
+      ;; keep the home clean
+      savehist-file (concat user-emacs-directory "savehist"))
+(savehist-mode t)
 
 ;; save recent files
-(setq recentf-save-file (concat user-emacs-directory "recentf") ;; keep ~/ clean
-      recentf-max-saved-items 100          ;; max save 100
-      recentf-max-menu-items 15)         ;; max 15 in menu
-(recentf-mode t)                  ;; turn it on
+(setq recentf-save-file (concat user-emacs-directory "recentf")
+      recentf-max-saved-items 200
+      recentf-max-menu-items 15)
+(recentf-mode t)
 
 ;; time-stamps
 ;; when there's "Time-stamp: <>" in the first 10 lines of the file

(put 'narrow-to-region 'disabled nil)

;; bookmarks
(setq bookmark-default-file "~/.emacs.d/bookmarks"
      bookmark-save-flag 1)

;; enabled auto-fill mode in text-mode and all related modes


;; delete the selection with a keypress
(delete-selection-mode t)

;; store all backup and autosave files in the tmp dir
(setq backup-directory-alist
