 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;;
-;;  TODO language modes and miscellany
-;;
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-
-
-;(ensure-package-installed
- ;; Language modes
- ;'web-mode
- ;'markdown-mode
- ;'python-mode
- ;'yaml-mode
- ;'scss-mode
- ;; Git
- ;'ibuffer-git
+;;  TODO  miscellany
+;;
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+
+(ensure-package-installed
  ;; Faces / colors
  ;'faces+
  ;'menu-bar+

 ;'persistent-scratch
 ;'hexrgb
 ;'auto-complete
;)


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(require 'move-text)
(move-text-default-bindings)

;; Language modes
(ensure-package-installed
 'web-mode
 'markdown-mode
 'yaml-mode
 'scss-mode
)

;; Sexier buffer list with git support
(ensure-package-installed 'ibuffer)
(require 'ibuffer)
(global-set-key (kbd "C-x C-b") 'ibuffer)
(ensure-package-installed 'ibuffer-git)
(require 'ibuffer-git)
(setq ibuffer-git-column-length 8)
;; Use human readable Size column instead of original one
(define-ibuffer-column size-h
  (:name "Size" :inline t)
  (cond
   ((> (buffer-size) 1000000) (format "%7.1fM" (/ (buffer-size) 1000000.0)))
   ((> (buffer-size) 100000) (format "%7.0fk" (/ (buffer-size) 1000.0)))
   ((> (buffer-size) 1000) (format "%7.1fk" (/ (buffer-size) 1000.0)))
   (t (format "%8d" (buffer-size)))))
;; Modify the default ibuffer-formats
  (setq ibuffer-formats
	'((mark modified read-only git-status-mini " "
		(name 18 18 :left :elide)
		" "
		(size-h 9 -1 :right)
		" "
		(mode 16 16 :left :elide)
		" "
		filename-and-process)))


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
