Skip to content

Custom status variables not working when status bar generated by running vim #98

Open
@dvdmuckle

Description

I have a plugin that adds the variable #{spotify_track} as well as other Spotify variables. My status line looks like:

let g:tmuxline_preset = {
      \'a'    : ['#S', '#I'],
      \'b'    : '#W',
      \'x'    : ['#(mpc current)', '#{spotify_artist} #{spotify_status} #{spotify_track}'],
      \'y'    : '%H:%M',
      \'z'    : '#H'}

If I use :TmuxlineSnapshot to save this to a file and source it from Tmux, the status bar looks fine.
image
However, if I load up Vim, the status bar is overwritten, and the variables seem to disappear.
image
Is there a way to either fix this behavior or keep Vim from recreating the status bar?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions