summaryrefslogtreecommitdiff
path: root/init/km-modes.el
blob: 1a21fef83ef7e85c0afe1f90c5eaf3ef3d5cc6a3 (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")

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