   (insert (format-time-string "%m_%d_%y" (current-time)))
   (insert "\n------------------------------------------------------------\n"))
 (global-set-key "\C-c\C-i" 'insert-header)
-(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.
- )

  (define-key helm-map (kbd "C-z") 'helm-select-action)
  (setq helm-mode-fuzzy-match t))


;; Smex
;;(use-package smex

  (package-refresh-contents)
  (package-install 'use-package))
(setq use-package-verbose t)

;; Lets secure out editor just a bit
;; Found at: https://glyph.twistedmatrix.com/2015/11/editor-malware.html
(setq tls-checktrust t)

;; Because Emacs no longer trusts https, we need to distribute trust root certs
;; I'm using PyPi 'certifi' which can be installed in pip.
;; I'm also using gnutls-cli (Debian: gnutls-bin. OSX: gnutls)
(let ((trustfile
       (replace-regexp-in-string
        "\\\\" "/"
        (replace-regexp-in-string
         "\n" ""
         (shell-command-to-string "python -m certifi")))))
  (setq tls-program
        (list
         (format "gnutls-cli%s --x509cafile %s -p %%p %%h"
                 (if (eq window-system 'w32) ".exe" "") trustfile)))
  (setq gnutls-verify-error t)
  (setq gnutls-trustfiles (list trustfile)))

(add-to-list 'default-frame-alist '(font . "Inconsolata-13"))

