Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Emacs: switch to buffer with a prefix

Tags:

emacs

I have two files, both named server.pp. When I switch between buffers I see server.pp and server.pp<1>. It is the case that one is module1/server.pp and the other module2/server.pp. How might I switch buffers in such a way as to include some path prefix information?

like image 525
troutwine Avatar asked Dec 10 '22 05:12

troutwine


1 Answers

you would want to customize the uniquify configuration to change that extra info. i personally use:

(require 'uniquify)
(setq uniquify-buffer-name-style 'post-forward-angle-brackets)
like image 91
jtahlborn Avatar answered Dec 30 '22 19:12

jtahlborn