-
Notifications
You must be signed in to change notification settings - Fork 4
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
request to provide ivy interface?? #20
Comments
Hi! Hmm why not :). But I'm not a Maybe consider to rename the project to |
@Sliim Here is a example for flyspell: The helm interface: https://github.com/pronobis/helm-flyspell The ivy interface: https://github.com/d12frosted/flyspell-correct (This repo also provide helm interface) And here are many helm porting elisp functions rewritten with ivy: https://github.com/abo-abo/swiper/blob/master/counsel.el And a few blog posts:
I hope these links helps and look forward to have ivy for github-stars! 😄 |
It looks interesting :) |
I don't use ivy either, instead of writing helm or ivy specific code, we can also provide a universal command which uses Emacs standard completing function (defun github-stars (&optional refresh)
"Search and open your GitHub stars.
With prefix argument, refresh cache."
(interactive "P")
(when refresh (hgs/clear-cache-file))
(let ((repo
(completing-read
"> "
(mapcar #'hgs/get-repo-name (hgs/get-github-stars)))))
(browse-url (concat "https://github.com/" repo))))
(defun github-repos (&optional refresh)
"Search and open your GitHub repos.
With prefix argument, refresh cache."
(interactive "P")
(when refresh (hgs/clear-cache-file))
(let ((repo
(completing-read
"> "
(mapcar #'hgs/get-repo-name (hgs/get-github-repos)))))
(browse-url (concat "https://github.com/" repo)))) |
Thx @xuchunyang So we can split code in several files:
|
I know helm is a good interface for completion, but ivy wins in performance.
Recently I have replaced all the helm stuff in my Spacemacs config with ivy replacement and it works fine and I gain lots of performance boost.
One thing I miss most might be the helm-github-stars, could you consider add ivy support?
Thanks.
The text was updated successfully, but these errors were encountered: