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

Popwin causes helm buffer display error in neotree window #62

Closed
danielwuz opened this issue Nov 1, 2014 · 3 comments
Closed

Popwin causes helm buffer display error in neotree window #62

danielwuz opened this issue Nov 1, 2014 · 3 comments
Labels

Comments

@danielwuz
Copy link
Contributor


This bug causes neotree-rename-node and neotree-create-node fail for those who use helm as completion system.


Step to reproduce:

  1. open a neotree window with <leader key> f t
  2. in neotree window, M-x helm-mini. An error message should display:
Window too small for splitting

This is caused by line 1608 in spacemacs/packages.el,

(push '("^\*helm.+\*$" :regexp t  :position bottom) popwin:special-display-config)

Not sure what we use popwin with helm for. Is it possible to remove helm from popwin?

@syl20bnr
Copy link
Owner

syl20bnr commented Nov 2, 2014

@danielwuz I retried without popwin and I don't like the default behaviour where helm can be at different places. Tell me if you find a way to make it appears always at the same position.

For now I let popwin for helm, but don't worry I added a function to easily disable this in your ~/.spacemacs. See 2) of https://github.com/syl20bnr/spacemacs#tips-for-spacemacs-advanced-users

@syl20bnr syl20bnr closed this as completed Nov 2, 2014
@danielwuz
Copy link
Contributor Author

@syl20bnr I also dislike the idea that helm shows up at different places. Can you try with below settings?

(setq helm-split-window-in-side-p nil
      helm-always-two-windows t
      neo-persist-show nil
)

This settings should give you a dedicated helm buffer that always show at bottom.

Thanks for making it so easy to get helm along with popwin for me. will try it out.

@syl20bnr
Copy link
Owner

syl20bnr commented Nov 2, 2014

@danielwuz Just tried it, works like a charm, I may use NeoTree as a quick way to navigate a project tree, I made some improvements for NeoTree in v0.3.2. Thank you! 👍

I'm waiting for your PR with your configuration proposal :-)
You can also remove the popwin line for helm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants