;; emacs dotfile
;; Daniel Bowling
;; May 2020
;; version 0.1
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(custom-enabled-themes (quote (tango-dark))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
;; Don't blink cursor
(blink-cursor-mode (- (*) (*) (*)))
(setq visible-cursor nil)
;; Use spaces for indent
(setq-default indent-tabs-mode nil)
;; Put backup files in one place
(setq backup-directory-alist '(("." . "~/.emacs.d")))
;; Put auto-save files in one place
(setq auto-save-file-name-transforms '((".*" "~/.emacs.d/" t)))
;; Show column number next to line number
(setq column-number-mode t)
;; Make next line command skip wrapped lines
(setq line-move-visual nil)
;; Load package system
(when (>= emacs-major-version 24)
(package-initialize)
(require 'package)
(add-to-list
'package-archives
'("melpa-stable" . "http://stable.melpa.org/packages/") t)
; (add-to-list
; 'package-archives
; '("melpa" . "http://melpa.milkbox.net/packages/") t)
)
;; GUI specific config
(when window-system
;; Confirm before exit
(setq confirm-kill-emacs 'yes-or-no-p)
;; For small screens (uncomment as needed)
; (set-frame-height (selected-frame) 36)
)