1
0
Fork 0

Add vterm to the vterm buffer name

Since vterm will happily make multiple buffers it’s easier for searching for
vterm buffers when vterm is actually mentioned in the buffer name.
This commit is contained in:
Tom Willemse 2020-12-26 13:58:54 -08:00
parent 609845a8f6
commit 6dc4703489

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; Keywords: local
;; Version: 2020.1218.002142 ;; Version: 2020.1226.135830
;; Package-Requires: (vterm) ;; Package-Requires: (vterm)
;; This program is free software; you can redistribute it and/or modify ;; This program is free software; you can redistribute it and/or modify
@ -34,7 +34,7 @@
(add-hook 'vterm-mode-hook #'oni-vterm-disable-beacon-on-scroll) (add-hook 'vterm-mode-hook #'oni-vterm-disable-beacon-on-scroll)
(setq vterm-buffer-name-string "%s") (setq vterm-buffer-name-string "*vterm* %s")
;;;###autoload(with-eval-after-load 'vterm (require 'oni-vterm)) ;;;###autoload(with-eval-after-load 'vterm (require 'oni-vterm))