 ;; Automatically updates copyright updates on save
 (add-hook 'before-save-hook 'copyright-update)
 
+;; Make the default frame maximized at startup
+(add-to-list 'default-frame-alist '(fullscreen . maximized))
+
 (setq
   apropos-do-all t             ;; More extensive search in apropos
   delete-by-moving-to-trash t  ;; Move to OS' trash when deleting stuff
-  initial-major-mode 'org-mode ;; Org-mode by default
   vc-follow-symlinks t         ;; VC follows the link and visits the real file
   )
 (delete-selection-mode 1)     ;; Delete text when typing over selection.

(put 'narrow-to-page 'disabled nil)

;; Global custom keyboard shortcuts
(require 'my-functions)
(global-set-key (kbd "M-g")   'goto-line)
(global-set-key (kbd "<f5>")  'reformat)
(global-set-key (kbd "<f12>") 'auto-revert-tail-mode)
(global-set-key (kbd "C-x g") 'magit-status)

;; Some modes settings
(add-hook 'sgml-mode-hook 'emmet-mode) ;; Auto-start emmet on any markup modes

  ;; Despite the theme, stick to my preferred fonts
  (add-to-list 'default-frame-alist '(font . "Cousine for Powerline-14"))
  (set-face-attribute 'default t :font "Cousine for Powerline-14")

  )

;; UI tweak on Windows
