Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a config to decide how to find root of file pciker #1781

Closed
wants to merge 1 commit into from

Conversation

cossonleo
Copy link
Contributor

Add a config for decide how to find root of file pciker
The value 'git' indicate to use git project
The value 'pwd' indicate to use pwd of helix process
The value 'file' indicate to use parent of current buffer.

@@ -75,6 +75,7 @@ available, which is not defined by default.
|`git-global` | Enables reading global .gitignore, whose path is specified in git's config: `core.excludefile` option. | true
|`git-exclude` | Enables reading `.git/info/exclude` files. | true
|`max-depth` | Set with an integer value for maximum depth to recurse. | Defaults to `None`.
|`root` | Set the option decide how to find root dir, values: "pwd", "git", "file". | Defaults to `git`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rather than config, why not two methods, #1600 and #1352 ? Then the user can remap the default shortcut if they want

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's better.

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

Successfully merging this pull request may close these issues.

2 participants