+; Loading third party code
+; ------------------------
+; we will store all our 3rd party modes here
+(add-to-list 'load-path "~/.emacs.d/user-lisp/")
+; some plugins (at least w3) install themselves here:
+(add-to-list 'load-path "/usr/share/emacs/site-lisp")
+
+; Interface
+; ---------
+; hide toolbar and scrollbar
+(tool-bar-mode 0)
+(scroll-bar-mode 0)
+; show x-position (ie column number) for point in buffer
+(column-number-mode 1)
+; always highlight matching parentheses
+(show-paren-mode 1)
+; no startup screen
+(setq-default inhibit-startup-screen t)
+; always highlight line that cursor is on
+(global-hl-line-mode 1)
+; always truncate lines
+(setq-default truncate-lines t)
+; theme stuff
+(require 'color-theme)
+(require 'color-theme-tango)
+(color-theme-tango)
+
 ; top of kill ring should also be in X clipboard
 (setq x-select-enable-clipboard t)
 

(add-hook 'yaml-mode-hook
	  '(lambda ()
	     (define-key yaml-mode-map "\C-m" 'newline-and-indent)))

; show x-position (ie column number) for point in buffer
(column-number-mode 1)

; always highlight matching parentheses
(show-paren-mode 1)

; always highlight line that cursor is on
(global-hl-line-mode 1)

; always truncate lines
(setq-default truncate-lines t)

; Python
; ------

(setq ido-everywhere t)
(ido-mode)

; always spaces, never tabs
(setq-default indent-tabs-mode nil)

; Text formatting modes
; ---------------------
; csv mode stuff, since it's used extensively in GBBO
(require 'csv-mode)
; yaml mode stuff, since google app engine uses it
(require 'yaml-mode)
(add-to-list 'auto-mode-alist '("\\.yml$" . yaml-mode))
