Emacs: Switching to a buffer with a prefix

I have two files, both of which are called server.pp . When I switch between buffers, I see server.pp and server.pp<1> . This is one case module1/server.pp and the other module2/server.pp . How can I switch buffers in such a way as to include some information about path prefixes?

+4
source share
1 answer

you want to configure uniquify to modify this additional information. I personally use:

 (require 'uniquify) (setq uniquify-buffer-name-style 'post-forward-angle-brackets) 
+14
source

All Articles