 	("i" "Idea" entry (file org-default-notes-file)
 	 "* %? :IDEA: \n %i\n%T")))
 
-;; summary screen on open
-(use-package dashboard
-  :init
-  (setq dashboard-show-shortcuts    t
-        dashboard-set-heading-icons t
-        dashboard-set-file-icons    t
-        dashboard-set-init-info     t
-        dashboard-set-footer        nil)
-  :config
-  (dashboard-setup-startup-hook))
-
-
 (use-package rainbow-delimiters
   :hook (prog-mode . rainbow-delimiters-mode))
 
 (use-package magit
-  :config
-  (global-set-key (kbd "C-c g") 'magit-file-dispatch))
+  :bind ("C-c g" . magit-file-dispatch))
 
 ;; company, the best auto completion support around
 (use-package company

;; setup use-package to use straight.el by default
(setq straight-use-package-by-default t)

;; silence compiler warnings
(setq native-comp-async-report-warnings-errors nil)

;; Set the right directory to store the native comp cache
(add-to-list 'native-comp-eln-load-path (expand-file-name "eln-cache/" user-emacs-directory))

;; Update environment from shell on macOS
(use-package exec-path-from-shell
  :if (memq window-system '(mac ns x))
  :config
  (exec-path-from-shell-initialize))

;; setup default shell
(setq shell-file-name "bash")
(setenv "SHELL" shell-file-name)
(global-set-key [f1] 'ansi-term)

;; Minimal UI right at startup
(scroll-bar-mode -1)                          ;; don't display scroll bar

(setq mouse-wheel-progressive-speed nil)

;; setup font with better retina support
(set-face-attribute 'default nil :font "Fira Code 18")
(set-frame-font "Fira Code 18")

;; command left and right move to begining and end of line respectively
(global-set-key (kbd "s-<right>") 'move-end-of-line)       ;; CMD-RightArrow for Old Habbit
