Skip to content

Instantly share code, notes, and snippets.

@sstephenson
Created August 29, 2010 20:57
Show Gist options
  • Save sstephenson/556681 to your computer and use it in GitHub Desktop.
Save sstephenson/556681 to your computer and use it in GitHub Desktop.
(global-set-key (kbd "M-s") 'save-buffer)
(global-set-key (kbd "M-z") 'undo)
(global-set-key (kbd "<escape>") 'hippie-expand)
(set-face-font 'default "-apple-inconsolata-medium-r-normal--13-0-72-72-m-0-iso10646-1")
(add-to-list 'default-frame-alist '(width . 100))
(add-to-list 'default-frame-alist '(height . 45))
(setq-default tab-width 2)
(setq-default resize-mini-windows 'grow-only)
(add-to-list 'load-path "~/.emacs.d/vendor/coffee-mode")
(require 'coffee-mode)
(add-to-list 'load-path "~/.emacs.d/vendor/rinari")
(require 'rinari)
(add-to-list 'load-path "~/.emacs.d/vendor/textmate")
(require 'textmate)
(add-to-list 'load-path "~/.emacs.d/vendor/rhtml")
(require 'rhtml-mode)
(add-hook 'rhtml-mode-hook
(lambda () (rinari-launch)))
(paredit-mode)
(textmate-mode)
(whitespace-mode)
(defun close-all-buffers ()
(interactive)
(mapc 'kill-buffer (buffer-list)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment