emacs-helm-ghq icon indicating copy to clipboard operation
emacs-helm-ghq copied to clipboard

Default action and persistent action of `helm-ghq`

Open kenoss opened this issue 10 years ago • 0 comments
trafficstars

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

kenoss avatar Nov 14 '15 16:11 kenoss