Skip to content
Discussion options

You must be logged in to vote

I've seen #1463, but I already have that behaviour for single windows. The problem lies w/ multiple windows at once.

Content for not current (i.e. "active") windows is configured via config.content.inactive function. Use %f to make content show relative file path (see :h 'statusline').

So something like this:

require('mini.statusline').setup({
  content = {
    active = function()
      -- Your content for active window
    end,
    inactive = function() return '%f' end,
  },
})

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by echasnovski
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested mini.statusline
2 participants