All pastes #1763684 Raw Edit

Unnamed

public text v1 · immutable
#1763684 ·published 2010-01-24 06:26 UTC
rendered paste body
(custom-set-variables
  ;; custom-set-variables was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 '(blink-cursor-mode nil)
 '(inhibit-startup-screen t)
 '(tab-always-indent t))
(custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 )

;; Window settings (toolbars, menus, etc)
(if (fboundp 'tool-bar-mode) (tool-bar-mode -1))
;(if (fboundp 'scroll-bar-mode) (scroll-bar-mode -1))
;(if (fboundp 'menu-bar-mode) (menu-bar-mode -1))

;; Ruby Mode
(autoload 'ruby-mode "ruby-mode" "Major mode for ruby files" t)
(add-to-list 'auto-mode-alist '("\\.rb$" . ruby-mode))
(add-to-list 'interpreter-mode-alist '("ruby" . ruby-mode))

;; MM-mode
(autoload 'mm-mode "mm-mode" "Major mode for mm files" t)
(add-to-list 'auto-mode-alist '("\\.mm$" . mm-mode))
(add-to-list 'interpreter-mode-alist '("mm" . mm-mode))

;; win32-only settings
(when (string< "Windows" (getenv "OS"))
  (message "WINDOWS SETTINGS...")
  (setq shell-file-name "C:/cygwin/bin/bash.exe")
  (global-set-key (kbd "C-x SPC") 'w32-menu-bar-open)
  )