 (setq backup-directory-alist '(("." . "~/.cache/emacs")))
 (setq custom-file "~/.cache/emacs/customize")       ; put customizations here
 
+; make some keys available for use
+(global-unset-key (kbd "<f4>"))
+
+
 ;; Text handling
 (visual-line-mode t)                    ; edit visual lines
 (setq default-tab-width 3)              ; ideal tab setting :)

		(setq projectile-mode-line '(:eval (format " [%s]" (projectile-project-name))))
	:config
		(projectile-global-mode 1)
	:bind ("<f7>" . projectile-compile-project)
	:demand t)

(use-package ag)
(use-package helm-ag)
(use-package grep)

(use-package helm-projectile
	:config
		(helm-projectile-on)
	:requires helm
	:requires projectile
	:bind ("<f5>" . helm-projectile-find-other-file))

(use-package helm-gtags
	:init
		(setq helm-gtags-auto-update t)
		(setq helm-gtags-use-input-at-cursor t)
		(setq helm-gtags-ignore-case t)
	:requires helm
	:config
		(add-hook 'dired-mode-hook 'helm-gtags-mode)
		(add-hook 'eshell-mode-hook 'helm-gtags-mode)
		(add-hook 'c-mode-hook 'helm-gtags-mode)
		(add-hook 'c++-mode-hook 'helm-gtags-mode)
		(add-hook 'asm-mode-hook 'helm-gtags-mode)
	:defer 5
	:diminish helm-gtags-mode)

(use-package markdown-mode

	:defer 1
	:diminish git-gutter-mode)

(defun start-deft-in-evil-insert-mode ()
	(interactive)
	(deft)
	(evil-insert-state))

(use-package deft
	:init
		(setq deft-directory "~/Dropbox/Notes")
		(setq deft-recursive t)
