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

Hello there!

I use tmux and sometimes it's not obvious which pane I'm currently in. I'd like to be able to blink the cursor or otherwise provide some feedback. Is there a way to do this?

Thank you

2 Answers

+1 vote
by
selected by
 
Best answer

You could try a different colorscheme: https://github.com/vifm/vifm-colors

by

Ah I see
I'm using it with like nvim in another pane so I think I'd have to script those values changing when the vifm window loses focus or something.

I pretty much stay in the "tree" view and hit space to switch vifm panes when needed. So I can always tell which vifm pane I'm in because the other split shows whatever files/file contents.

I guess I'd need tmux to send a message to vifm or maybe the other way around.

but also it isn't the biggest deal.

Thanks for the answer and the cool software!

by

I think I misunderstood your question. I thought you meant that you didn't know which Vifm pane you were in.

This is probably not the right place to discuss Tmux, but here are some values from my config file that you can look into. I use these to help distinguish between active and inactive Tmux panes:

# Set background color of inactive/active panes
set -g window-style        'bg=colour234'
set -g window-active-style 'bg=terminal'

# Status bar color for active window
set-window-option -g window-status-current-style \
  fg=brightred,bg='colour236',bright

# Border color for active pane
set -g pane-active-border-style fg='brightred'

# Displays arrows pointing to the current pane. Available since v3.3
set -g pane-border-indicators both
by

Thank you for the response! I'll have a bash with those settings

+1 vote
by

Hi,

You can try moving the cursor, but otherwise it won't animate in any way to indicate the location.

You can also modify OtherWin, OtherLine and TopLineSel highlighting groups to make active and inactive panes more visually distinct. The inactive cursor has * to its left unless you did set tuioptions-=p.

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.
...