all repos — nixfiles @ 4ff71fca31604a53a0e7384b624fc85e0ca66ebb

System and user configuration, managed by nix and home-manager

Emacs: Replace Uniquify with relative-buffers
Alan Pearce alan.pearce@spotcap.com
Mon, 07 Sep 2015 16:42:42 +0200
commit

4ff71fca31604a53a0e7384b624fc85e0ca66ebb

parent

ebf6a8b80f7c3a6493b84629350052432fd5b688

2 files changed, 5 insertions(+), 11 deletions(-)

jump to
M tag-emacs/emacs.d/Casktag-emacs/emacs.d/Cask
@@ -107,6 +107,7 @@ (depends-on "queue") (depends-on "quickrun")
 (depends-on "rainbow-mode")
 (depends-on "redshank")
+(depends-on "relative-buffers")
 (depends-on "req-package")
 (depends-on "restclient")
 (depends-on "s")
M tag-emacs/emacs.d/init.orgtag-emacs/emacs.d/init.org
@@ -704,20 +704,13 @@ " "                           filename-and-process)))))
 #+END_SRC
 
-** Uniqify
-
-Sometimes projects have files with the same name.  This gives them
-unique names, by adding enough path elements to make them unambiguous.
+** Relative Buffer names
 
 #+BEGIN_SRC emacs-lisp
-(req-package uniquify
-  :config (progn
-            (setq uniquify-buffer-name-style 'forward
-                  uniquify-separator "/"
-                  uniquify-after-kill-buffer-p t
-                  uniquify-ignore-buffers-re "^\\*")))
+  (req-package relative-buffers
+    :init (progn
+            (global-relative-buffers-mode)))
 #+END_SRC
-
 ** Narrowing
 
 Enable it without prompting