Mike Steder avatar 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.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.