summaryrefslogtreecommitdiff
path: root/init/km-modes.el
blob: 87ff5e54b6f92281db5d296fe7f2d4e377cb8468 (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.

(defvar 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)