Skip to content

Instantly share code, notes, and snippets.

@WowSuchRicky
Created October 22, 2016 21:11
Show Gist options
  • Select an option

  • Save WowSuchRicky/dec150e3e0ee86bf776941e560b47081 to your computer and use it in GitHub Desktop.

Select an option

Save WowSuchRicky/dec150e3e0ee86bf776941e560b47081 to your computer and use it in GitHub Desktop.
(setq
backup-by-copying t ; don't clobber symlinks
backup-directory-alist
'(("." . "~/.saves")) ; don't litter my fs tree
delete-old-versions t
kept-new-versions 6
kept-old-versions 2
version-control t) ; use versioned backups
(require 'saveplace)
(setq-default save-place t)
(when (>= emacs-major-version 24)
(require 'package)
(add-to-list
'package-archives
'("melpa" . "http://melpa.org/packages/")
t)
(package-initialize))
(setq tab-width 4)
(defvaralias 'c-basic-offset 'tab-width)
(defvaralias 'cperl-indent-level 'tab-width)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment