From 6dc470348932a3afd896d4f63e562718a9f23f27 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sat, 26 Dec 2020 13:58:54 -0800 Subject: [PATCH] Add vterm to the vterm buffer name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since vterm will happily make multiple buffers it’s easier for searching for vterm buffers when vterm is actually mentioned in the buffer name. --- oni-vterm.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oni-vterm.el b/oni-vterm.el index a93798a..5c618bc 100644 --- a/oni-vterm.el +++ b/oni-vterm.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2020.1218.002142 +;; Version: 2020.1226.135830 ;; Package-Requires: (vterm) ;; 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) -(setq vterm-buffer-name-string "%s") +(setq vterm-buffer-name-string "*vterm* %s") ;;;###autoload(with-eval-after-load 'vterm (require 'oni-vterm))