Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Request - Make directory and git branch click events optional #64

Open
blkdr opened this issue Sep 27, 2017 · 0 comments
Open

Request - Make directory and git branch click events optional #64

blkdr opened this issue Sep 27, 2017 · 0 comments

Comments

@blkdr
Copy link

blkdr commented Sep 27, 2017

Add an option to let the user choose from what they want to do if they click on the directory or branch name.

Why? Some users may accidentally click on the directory or branch name and the plugin automatically open the directory or the browser.

Examples:

...
hyperStatusLine: {
  onDirectoryClick: 'none',
  onBranchClick: 'copyBranchName'
}
...

/*
  onDirectoryClick:
    'none'
    'copyDirectoryName'
    'openDirectory' // default
  onBranchClick
    'none'
    'copyBranchName'
    'copyBranchURL'
    'openBranchURL' // default
*/

none should be enough if copy to clipboard is not possible.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant