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

Default action and persistent action of helm-ghq #11

Open
kenoss opened this issue Nov 14, 2015 · 0 comments
Open

Default action and persistent action of helm-ghq #11

kenoss opened this issue Nov 14, 2015 · 0 comments

Comments

@kenoss
Copy link
Contributor

kenoss commented Nov 14, 2015

Currently, helm-ghq command first reads repository and then lists files up in it. This behavior surprised me since this command seems to ask only "select repo". After getting in a repository, I often see directories (with dired) and trigger ag. So, I personally think this behavior is a second option rather than default.

Luckily, there's helm-source-ghq already. So users can feed them up as my setting: https://github.com/kenoss/emacs-helm-ghq/tree/feature/add-list-only-command I'm satisfied with this but also this may useful for other users. Besides, using helm is better rather than helm-comp-read because, for example, helm-comp-read seems to ignore :filter-one-by-one and persistent action.

FYI, helm's way to provide the second option is using persistent-action. I tried to do this but I gave up because I'm not enthusiastic to debug helm. Helm is not controllable for me.

My attempt is here: https://github.com/kenoss/emacs-helm-ghq/tree/trash/use-helm-persistent-action

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

No branches or pull requests

1 participant