-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Sr speedbar #3559
Sr speedbar #3559
Conversation
remove unused item from TOC remove unused item rename sr-speedbar-show-or-hide to spacemacs/sr-speedbar-show-or-hide Evilify keybindings move
I removed my previous comment. Nevermind :) We really shouldn't have 3 PRs for the same thing... |
I tried this out, and I like it, but would like it to be a bit more solid.
I would also like to suggest the layer be called just "speedbar". |
This only implements one binding,
I'd also seen speedbar duplication - #2002 (comment) - but only when toggling the speedbar frame via
I guess I was imagining that at some point someone might make a Spacemacs layer for plain speedbar, and sr-speedbar seemed more concise. |
Neotree defines these bindings. I'm not sure how many carry over to speedbar or how easily, but consistency is king around here. :-) In general we prefer to name layers after the features they provide, not the packages that they use. So layers are called auto-completion, spell-checking and syntax-checking instead of company, flyspell and flycheck. This helps newcomers. Certainly we're not super consistent on this rule (eyebrowse) but I would vote for speedbar over sr-speedbar. |
@TheBB ah I was focusing on global bindings and hadn't thought about changing the bindings for the speedbar major mode, but that makes sense. I've actually stopped feeling the need for a persistent directory listing pane after using Spacemacs for awhile and habituating on I feel bad about picking up a patch and then dropping it, but I'm feeling like closing this honestly, especially since it doesn't support multiple frames well. Others feeling like this is important? @blinkd |
with regular sr-speedbar on emacs, I can click SPC with the cursor on a file name, and I can see the contents of the file, a list of classes and function and vars. How can I get the same functionality using this layer on spacemacs? |
This seems related: https://github.com/anshulverma/projectile-speedbar |
@lukeorland -- maybe make a new PR? |
Quick comment: I just merged this PR locally into |
@nicbet Did you checkout treemacs? What are the differences? |
This issue is rather old
…On 06/28/2018 10:23 AM, Compro Prasad wrote:
@nicbet <https://github.com/nicbet> Did you checkout treemacs? What
are the differences?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3559 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABaMAy9CXtR1CV093AfvGNxfrIrlqgCks5uBREEgaJpZM4GV6Vr>.
|
@sdwolfz I think we can continue without this PR for the following reasons:
|
@Compro-Prasad indeed this PR is old and with the recent changes that introduced treemacs this requires more work. @edrex sorry but I'll have to close this PR. |
This builds on #2002, adding a key binding
SPC f t
overlaying theneotree
binding. @CarlQLange also opened #3224, but didn't make any additional commits.Caveat: I'm not 100% happy with Speedbar being a global singleton buffer rather than allowing an independent buffer per frame. In a multiple frame workflow where the speedbar frame is already visible in another frame, the first
SPC f t
toggles the buffer off in the other frame, and the second reinitializes it in the current frame.