summaryrefslogtreecommitdiff
path: root/init/km-modes.el
blob: 51b1b461a7b19653927b4e3562b37bcd0f72b01a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
;; 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)