   :config
   (company-terraform-init))
 
+(defun reload-init-file ()
+  (interactive)
+  (load-file user-init-file))
+
+(global-set-key (kbd "C-c r") 'reload-init-file)    ; Reload .emacs file
+
 ;; keep init.el clean
 (setq custom-file (concat user-emacs-directory "custom.el"))
 (load custom-file 'noerror)

    (setq initial-frame-alist '((tool-bar-lines . 0)))
    (setq default-frame-alist '((tool-bar-lines . 0)))))

;; Setup package, use-package, and repositories
(require 'package)
(setq package-archives '(("melpa" . "https://melpa.org/packages/")

;; Remove odd undo binding, and prepare it for search with swiper
(global-unset-key (kbd "C-/"))

;;; Let's also assign C-z to undo here
(global-set-key (kbd "C-z") 'undo) ;Emacs default is bound to hide Emacs.

;;; Define key bindings for Org-roam
;(global-set-key (kbd "C-c n r") #'org-roam-buffer-toggle-display)
;(global-set-key (kbd "C-c n i") #'org-roam-insert)
;(global-set-key (kbd "C-c n f") #'org-roam-find-file)
;(global-set-key (kbd "C-c n b") #'org-roam-switch-to-buffer)
;(global-set-key (kbd "C-c n d") #'org-roam-find-directory)

;; write to "Time-stamp: <>" as long as it is within the first 8 lines of the file
(add-hook 'before-save-hook 'time-stamp)

