suonlight / multi-vterm

Managing multiple vterm buffers in Emacs
GNU General Public License v3.0
208 stars 22 forks source link

vterm-buffer-name-string setting is not applied #19

Open Artefact2 opened 2 years ago

Artefact2 commented 2 years ago

I am trying to get the title (as defined by the shell) to appear in my buffer names. vterm will replace %s by the title when vterm-buffer-name-string is non-nil, as explained in https://github.com/akermu/emacs-libvterm#vterm-buffer-name-string=

However, multi-vterm seems to override that setting and always uses multi-vterm-buffer-name, which does not substitute %s for the title. Is there a way around this?

indigoviolet commented 2 years ago

Set multi-vterm-buffer-name to the same thing as vterm-buffer-name-string

Thaodan commented 2 years ago

I tried to do that however it didn't work (setq multi-vterm-buffer-name "vterm %s") , "%s" is not replaced.