GithubHelp home page GithubHelp logo

Comments (6)

dvcrn avatar dvcrn commented on May 18, 2024

Definitely possible but I couldn't find a plugin for this yet.
We could use the atom API to find all panes (and map the side bar to 0), check if the panel with index # exists and then focus it. Shouldn't be too difficult :)

from proton.

sglyon avatar sglyon commented on May 18, 2024

Yeah I've searched for plug-ins many times and tried all of what's out there. Nothing is as good (for me) as spacemacs

If implementing this on our own isn't too hard, I'd love to see it.

from proton.

dvcrn avatar dvcrn commented on May 18, 2024

Seems like this is what we want

from proton.

dvcrn avatar dvcrn commented on May 18, 2024

Just realised that we are still missing SPC w m for closing all other panes (or 'maximising' the current one)

from proton.

dvcrn avatar dvcrn commented on May 18, 2024

One thing that I still have in my head is, how should we treat panes and windows? Should we treat them as normal atom panes or just 'display options' for buffers?
E.g. in atom, closing a pane destroys all items with it. In emacs (spacemacs), closing a pane destroys the pane but leaves the buffers open.

If we want the same behaviour, we need to move all tabs / buffers to the active pane when closing others.

Besides that, are we missing anything here or can I close this?

from proton.

sglyon avatar sglyon commented on May 18, 2024

I think closing buffers with a pane is fine.

It is likely that spacemacs keeps a buffer alive, because that is the emacs default. Here the atom default is to close them, so I don't see any harm in doing that.

I think we can close this, but we need to keep in mind the outstanding issues in #72 (a single [0-9] entry in keybinding list rather than 10, and labels on each pane so users know what number each pane is). I'll open issues for those items though.

from proton.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.