summaryrefslogtreecommitdiff
path: root/init/km-modes.el
blob: a4b88f3582a296e5c97dd6e91515a13b76621baf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
;; These could be kept alongside related topics, but for whatever reason
;; I prefer having them together.

(defcustom km/modes '(("\\.zsh$" . shell-script-mode)
                      ("\\.*rc$" . conf-unix-mode)
                      ("\\.org.txt$" . org-mode)
                      ("PKGBUILD" . pkgbuild-mode))
  "Auto mode mappings")

(mapc
 (lambda (mode) (setq auto-mode-alist
                      (cons mode auto-mode-alist)))
 km/modes)