Welcome to Vifm Q&A, where you can ask questions about using Vifm. Registration is optional, anonymous posts are moderated. E-mail and GitHub logins are enabled.
0 votes
in vifm by

Every time I launch VIFM, it resets my terminal title to ~ (or the directory name)

I am using Cygwin/Mintty on Windows.

How do I disable this behavior? I have set 'notitle'' my vifmrc but I receive a incorrect syntax error when launching vifm.

I have multiple mintty windows open, and I have set their titles so I can easily alt tab between them, but vifm keeps clobbering those titles.

Any suggestions?

1 Answer

0 votes
by

I have set 'notitle'' my vifmrc but I receive a incorrect syntax error when launching vifm.

This option was added in version 0.8.1, your version must be older than that. You need to upgrade vifm to be able to use it.

If you can't do the upgrade, as a workaround you can set $TERM to a value not in the list below, but which works for the terminal you're using (i.e., so that colors will work, etc.):

  • xterm
  • xterm-256color
  • rxvt
  • rxvt-256color
  • rxvt-unicode
  • aterm
  • Eterm
  • screen
  • screen-256color
by

0.8.1 ! thank you, I was using 0.8

by

Edit: Commented in the wrong place

I have the opposite problem
vifm doesn't overwrite the pane title at all within tmux

My $TERM is xterm-256color

by

My $TERM is xterm-256color

Inside tmux? It should be tmux-256color. However, I just checked it and setting title may not be working correctly with tmux (Vifm should handle it like GNU screen, but doesn't). TERM=screen-256color vifm works and should actually be better than xterm-256color, but it's still wrong. Will be fixed, thanks.

If you would like to make a bug report or feature request consider using GitHub, SourceForge or e-mail. Posting such things here is acceptable, but this is not a perfect place for them.
...