* Ray Gllisse on Saturday, December 23, 2023 at 11:02:13 -0800:
I am new user of tmux using mainly tmux 3.2a on ubuntu 22.04 with WSL2.
Once a file is edited with vim, there's no hint of the filename being
edited and it gets difficult to identify quickly files when several files
are opened at the same time in different vim windows.

[...]

Here are my attempts :

set-window-option -g pane-border-format '#(/home/cedric/tmux-pane-title.sh
#T) #T '

or

set -g pane-border-format "#(/home/cedric/tmux-pane-title.sh)"

or

set -g set-titles on

Not 100% sure what you want, but I have the above. However, the brunt of the work is done in vimrc:

if &term =~ '^\(screen\|tmux\)'
  set title
  " VimTip #1126
  set t_ts=^[k
  set t_fs=^[\
  set ttyfast " tmux FAQ
  let &titleold = fnamemodify(&shell, ":t")
endif

Hope this helps.

--
LAST SHIP HOME
The circumnavigation of the world of the Peter von Danzig
Winner of the German Ocean Film Award 2019
Watch the movie in full online: https://lastshiphome.de/en/movie

--
You received this message because you are subscribed to the Google Groups 
"tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tmux-users+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/tmux-users/ZYdI5WJUnYqbXu9P%40krille.phloxic.productions.

Reply via email to