emacsorphanage / helm-swoop

Efficiently hopping squeezed lines powered by Emacs helm interface
GNU General Public License v3.0
689 stars 55 forks source link

Neotree and Heml-Swoop bug #64

Closed gopar closed 2 years ago

gopar commented 9 years ago

I noticed that whenever I do a call to helm-swoop and I have Neotree visible, there's a bug in which I can't move up or down in the helm-swoop menu. It's basically frozen and it won't work correctly unless I hide Neotree and then call helm-swoop

I made this little function to help me while I get some input from the issue.

(defun my-helm-swoop ()
  "Hide neotree when doing helm swoop"
  (interactive)
  ;; if Neotree buffer is visible
  (if (member (get-buffer " *NeoTree*") (mapcar 'window-buffer (window-list)))
      (progn
        (neotree-hide)
        (helm-swoop)
        (neotree-show)
        (switch-window))
    (helm-swoop)))
emad-elsaid commented 8 years ago

@gopar Thanks, I encounter the same bug now, but the problem is that when you enter helm-swoop and choose a line you'll get back to neotree selected by default

gopar commented 8 years ago

@blazeeboy dang, I completely forgot about neotree. I don't use it anymore (switched to projectile).

Hmm, I don't remember if this is the exact snippet I used (I changed it a few times after the initial one)