2 ms·
I went .emacs bankrupt this summer. gist.el, powershell-mode, yaml-mode, org-mode are a few I've taken out for brevity. Otherwise, a few of these are emacs23
by jcsalterego 16y ago
I went .emacs bankrupt this summer.
gist.el, powershell-mode, yaml-mode, org-mode are a few I've taken out for brevity.
Otherwise, a few of these are emacs23 specific:
;; syntax highlighting
(global-font-lock-mode 1)
;; add .emacs.d to load path
(setq load-path (cons "~/.emacs.d" load-path))
;; nethack
(add-hook 'nethack-mode-hook (lambda () (linum-mode 'nil)))
(setq load-path (cons "~/.emacs.d/nethack" load-path))
(autoload 'nethack "nethack" "Play Nethack." t)
(setq nethack-program "/opt/local/bin/nethack")
;; 4 spaces in objective-c
(add-hook 'objc-mode-hook
(lambda ()
(setq tab-width nil)
(setq c-basic-offset 4)))
;; straight to *scratch* buffer please
(setq inhibit-splash-screen t)
;; use old navigation for line movement
(setq line-move-visual nil)
;; linum mode
(require 'linum)
(global-linum-mode 1)
(add-hook 'linum-before-numbering-hook
(lambda () (setq linum-format "%d ")))