Commits

Mike Steder committed a4674c2

Added uniquify back in and new color theme stuff

Comments (0)

Files changed (2)

emacs.d/buffers.el

+;;; Make buffer names unique!
+;; So instead of Makefile and Makefile<2>
+;; you'll have Makefile/somedir and Makefile/otherdir
+(require 'uniquify) 
+;; setting: uniquify-buffer-name-style
+;; Given 3 files 
+;;   /home/foo/Makefile
+;;   /home/bar/Makefile
+;;   /opt/foo/Makefile
+;; style 'forward means their buffer names would be:
+;;   foo/Makefile
+;;   bar/Makefile
+;;   opt/foo/Makefile
+;; style 'post-forward means:
+;;   Makefile|foo
+;;   Makefile|bar
+;;   Makefile|opt/foo
+;; style 'reverse means:
+;;   Makefile\foo
+;;   Makefile\bar
+;;   Makefile\foo\opt
+;; 
+;; I think that reverse gives us the most sensible path first
+(setq 
+  uniquify-buffer-name-style 'reverse
+  uniquify-separator ":")
+
 ;;; Ibuffer is an alternative to the normal buffer list
 ;;  which supports:
 ;;
 ;;‘I’ - As above, with a regular expression.
 (global-set-key (kbd "C-x C-b") 'ibuffer)
 (autoload 'ibuffer "ibuffer" "List buffers." t)
+

emacs.d/look_and_feel.el

     (progn 
       (color-theme-initialize) ; If gui window, load this theme
       ( color-theme-tango ))
-  (color-theme-euphoria); If terminal, load this theme
+  (progn
+    (color-theme-initialize)
+    (color-theme-euphoria); If terminal, load this theme
+   )
   )
 
 ;; Show the time on the status bar.