view .elisp/settings/10.require.el @ 522:7983184eb8d8

emacs.sh: hack together fallback to vscode Lately if emacs is not running I prefer using vscode. This allows my muscle memory to keep working.
author Augie Fackler <raf@durin42.com>
date Sun, 31 Jul 2022 22:34:33 -0400
parents a6d9af3fdc50
children
line wrap: on
line source

;; Better buffer switching and file loading (load first in case we need the
;; * Messages * buffer)
(require 'ido)
(setq ido-enable-flex-matching t)
(ido-mode t)

(smex-initialize)

;; VCS
(require 'mercurial)
(require 'magit)

;; Hygene
(require 'whitespace)
(require 'midnight)

;; other
(require 'textmate)
(textmate-mode)
;; override what makes a project root
(setq *textmate-project-roots* '(".git" ".hg"))

(require 'yaml-mode)
(add-to-list 'auto-mode-alist '("\\.yml$" . yaml-mode))

(require 'js2-mode)
(require 'markdown-mode)