summaryrefslogtreecommitdiff
path: root/init/km-modes.el
blob: 97021cdbe4629d21eebc6f4017eca8dd153aa074 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
;; 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" . shell-script-mode))
  "Auto mode mappings")

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