-;; Copyright © 2016, 2017, 2018, 2019 Emmanuel Roubion
+;; Copyright © 2016, 2017, 2018, 2019, 2020 Emmanuel Roubion
 ;;
 ;; Author: Emmanuel Roubion
 ;; URL: https://github.com/maanuair/dotfiles

;; Make the default frame maximized at startup
(add-to-list 'default-frame-alist '(fullscreen . maximized))

;; Enable web-mode for editing HTML files
;; (require 'web-mode)
;; (add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode))
(use-package web-mode
  :mode ("\\.html?\\'" . web-mode)
  )

;; Make sure PDF will be opened with pdf-tools

(global-set-key (kbd "S-<f6>") 'next-error)
(global-set-key (kbd "<f12>")  'auto-revert-tail-mode)
(global-set-key (kbd "C-x g")  'magit-status)
(global-set-key (kbd "C-x t")  'treemacs)
(global-set-key (kbd "C-x c")  'indium-connect)
(global-set-key (kbd "C-. i") (lambda () (interactive) (find-file (expand-file-name "init.el" user-emacs-directory))))
(global-set-key (kbd "C-. d") (lambda () (interactive) (find-file (expand-file-name "my-dirs.el" my-elisp-dir))))
(global-set-key (kbd "C-. f") (lambda () (interactive) (find-file (expand-file-name "my-functions.el" my-elisp-dir))))
