 
 (use-package counsel
   :ensure t
-
   :bind
   ("M-x" . counsel-M-x)
   ("C-c k" . counsel-ag)

  :ensure t
  :init
  (projectile-mode)
  (setq projectile-completion-system 'ivy))

(use-package counsel-projectile
  :ensure t
  :config
  (counsel-projectile-on))

;; Org
(use-package org
  :ensure t)

;; Markdown
(use-package markdown-mode

(setq version-control t)
(setq create-lockfiles nil)

;; Early load utilities
(defun udots/mac-p ()
  "Am I running on a mac"
  (memq window-system '(mac ns)))

;; Make https
;; This requires openssl to be installed through homebrew
(when (udots/mac-p)
  (require 'gnutls)
  (add-to-list 'gnutls-trustfiles "/usr/local/etc/openssl/cert.pem"))

(csetq tls-checktrust t)
(csetq gnutls-verify-error t)

