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

open doc as you type #48

Closed
kidd opened this issue Mar 22, 2014 · 3 comments

Comments

@kidd
Copy link
Member

commented Mar 22, 2014

This works kinda ok, but it's super slow. makes everything sluggish.

We should investigate on that, There's also helm-idle-delay worth investigating

(add-hook 'helm-update-hook 'helm-dash-update t)

(defun helm-dash-update ()
  (interactive)
  (with-selected-window
    (eww (helm-get-selection))))
@kidd

This comment has been minimized.

Copy link
Member Author

commented Aug 20, 2014

also, there's :persistent-action which can somehow help showing help without quitting helm.

@kidd

This comment has been minimized.

Copy link
Member Author

commented Jan 5, 2015

This seems to work a bit better (using eww) although it doesn't get triggered when navigating with arrow keys...

(defun my-autoupdater ()
  (interactive)
  (if (helm-get-selection)
      (progn
        (helm-dash-browse-url (helm-get-selection))
        (select-window (active-minibuffer-window)))))

(add-to-list 'helm-after-update-hook 'my-thing)
@kidd

This comment has been minimized.

Copy link
Member Author

commented Feb 11, 2016

I just discovered that c-c c-f runs the persistent-action on every change, so that's it :)

@kidd kidd closed this Feb 11, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.