Skip to content

j-f1/forked-hyper-statusline

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hyper-statusline hyper npm npm

This is a fork of @henrikdahl’s hyper-statusline package.

Due to a bug in Hyper (#3288), you can’t install this via hyper i. Until the bug is fixed, you can clone this repo to ~/.hyper_plugins/local/hyper-statusline and put hyper-statusline in your localPlugins.


Status Line Plugin for Hyper. Shows clickable & useful information. Matches any theme.

hyper-statusline

Install

Add following to your ~/.hyper.js config.

module.exports = {
  ...
  plugins: ['hyper-statusline']
  ...
}

Config

Add following to ~/.hyper.js

Change Git Dirty Color

Expected value is CSS color

module.exports = {
  config: {
    ...
      hyperStatusLine: {
        dirtyColor: 'salmon',
      }
    ...
  }
}

Change Git Ahead Color

Expected value is CSS color

module.exports = {
  config: {
    ...
      hyperStatusLine: {
        aheadColor: 'ivory',
      }
    ...
  }
}

Disable Footer Transparency

Default value is set to true

module.exports = {
  config: {
    ...
      hyperStatusLine: {
        footerTransparent: false,
      }
    ...
  }
}

Open in editor

This is disabled by default so clicking the current directory link will open your file manager. Set editor to your preferred editor to open an editor instead.

Currently supported editors are VS Code ('vscode') and Atom ('atom')

module.exports = {
  config: {
    hyperStatusLine: {
      editor: 'vscode',
    },
  },
}

Theme

License

MIT © Henrik

Packages

No packages published

Languages

  • JavaScript 100.0%