From 4ff71fca31604a53a0e7384b624fc85e0ca66ebb Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 7 Sep 2015 16:42:42 +0200 Subject: Emacs: Replace Uniquify with relative-buffers --- tag-emacs/emacs.d/Cask | 1 + tag-emacs/emacs.d/init.org | 15 ++++----------- 2 files changed, 5 insertions(+), 11 deletions(-) (limited to 'tag-emacs') diff --git a/tag-emacs/emacs.d/Cask b/tag-emacs/emacs.d/Cask index bc48c31e..f1e204d5 100644 --- a/tag-emacs/emacs.d/Cask +++ b/tag-emacs/emacs.d/Cask @@ -107,6 +107,7 @@ (depends-on "quickrun") (depends-on "rainbow-mode") (depends-on "redshank") +(depends-on "relative-buffers") (depends-on "req-package") (depends-on "restclient") (depends-on "s") diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index c78c62a8..75ef27db 100644 --- a/tag-emacs/emacs.d/init.org +++ b/tag-emacs/emacs.d/init.org @@ -704,20 +704,13 @@ often though, as it doesn’t really work with perspectives. 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 -- cgit 1.4.1