 ;;; init.el --- my basic emacs setup for sane defaults
 
-;; Time-stamp: <2021-08-31 08:57:19 rovalent>
+;; Time-stamp: <2021-10-25 08:25:06 rovalent>
 ;; Copyright 2020 Ronald Valente
 
 ;;; Commentary:

	("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))

;; 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)

;; Update environment from shell on macOS
(use-package exec-path-from-shell
  :if (memq window-system '(mac ns x))
  :config
  (setenv "SHELL" "/bin/zsh")
  (exec-path-from-shell-initialize)
  (exec-path-from-shell-copy-envs
   '("PATH")))

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