 (define-key global-map "\C-cl" 'org-store-link)
 (define-key global-map "\C-ca" 'org-agenda)
 (setq org-log-done t)
-;; Open org file when emacs opens
-;; (setq org-default-notes-file "/Users/josh/.emacs.d/tasks.org"
-;;       initial-buffer-choice org-default-notes-file)
 
 ;; Line Numbers
 (global-linum-mode t)

(smex-initialize)
(global-set-key (kbd "M-x") 'smex)
(global-set-key (kbd "M-X") 'smex-major-mode-commands)
(global-set-key (kbd "C-c C-c M-x") 'execute-extended-command)

;; IDO Mode
(require 'ido)
(ido-mode t)
(ido-grid-mode 1)
;;(Require 'ido-vertical-mode)
;;(ido-mode 1)
;;(ido-vertical-mode 1)
;;(setq ido-vertical-define-keys 'C-n-and-C-p-only)

;; Expand Region
(require 'expand-region)

   (lambda (&optional arg) "Keyboard macro." (interactive "p") (kmacro-exec-ring-item (quote ("[18~zp" 0 "%d")) arg)))
(global-set-key [f6] 'open-ranger)

;; Magit
(require 'magit)
(global-set-key (kbd "C-c C-g") 'magit-dispatch-popup)
