 (add-to-list 'auto-mode-alist '("\\.git\/config$" . gitignore-mode))
 (add-to-list 'auto-mode-alist '("\\.git\/info\/exclude$" . gitignore-mode))
 
-;; Web mode
 (require 'web-mode)
 (add-to-list 'auto-mode-alist '("\\.phtml\\'" . web-mode))
 (add-to-list 'auto-mode-alist '("\\.tpl\\.php\\'" . web-mode))

(global-set-key "\C-cb" 'org-iswitchb)
(add-hook 'org-mode-hook 'turn-on-flyspell 'append)

;; git-modes
(require 'gitattributes-mode)
(require 'gitconfig-mode)
(require 'gitignore-mode)

(put 'downcase-region 'disabled nil)
(put 'upcase-region 'disabled nil)

;; allow 'y' or 'n' instead of 'yes' or 'no'
;; http://www.cs.berkeley.edu/~prmohan/emacs/
(fset 'yes-or-no-p 'y-or-n-p)

;;;;;;;;;;;;;;;;
;; KEYBINDINGS
;;;;;;;;;;;;;;;;
;; some inspiration from https://masteringemacs.org/article/my-emacs-keybindings

(setq mac-option-modifier 'meta)

