From d9d56451c8ea45f1be6564bd92e7d1c46be2c808 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Fri, 12 Apr 2019 23:01:43 +0200 Subject: [PATCH] doc: clarify that pane ids are unique across sessions --- autoload/tbone.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/tbone.vim b/autoload/tbone.vim index 8059c3f..1eb443c 100644 --- a/autoload/tbone.vim +++ b/autoload/tbone.vim @@ -302,8 +302,8 @@ endfunction " Section: :Twrite -" Convert a target pane to an unchanging pane id. Returns an empty string if -" the pane does not exist. +" Convert a target pane to an unchanging pane id (across tmux session). +" Returns an empty string if the pane does not exist. function! tbone#pane_id(target) abort if a:target =~# '^%' return index(split(system('tmux list-panes -a -F "#{pane_id}"'), "\n"), a:target) < 0 ? '' : a:target