Git Product home page Git Product logo

Comments (4)

zhenhua-wang avatar zhenhua-wang commented on August 22, 2024 1

Wow, both methods sounds great to me. Thanks for the help.

from tabspaces.

zhenhua-wang avatar zhenhua-wang commented on August 22, 2024

Support moving buffer to another tabspace might be an easy solution to this. With this, I can move relevant buffers to a single tab (e.g. "Help") in relevant buffer-hooks

from tabspaces.

mclearc avatar mclearc commented on August 22, 2024

You can also look into the display buffer list. For example, here's how I group all my email buffers:

(setq display-buffer-base-action nil)

(add-to-list 'display-buffer-alist
             `("\\*mu4e-main\\*"
               (display-buffer-in-tab)
               (tab-name . "Email")))
(add-to-list 'display-buffer-alist
             `("\\*mu4e-view\\*"
               (display-buffer-in-tab)
               (tab-name . "Email")))
(add-to-list 'display-buffer-alist
             `("\\*mu4e-headers\\*"
               (display-buffer-in-tab)
               (tab-name . "Email")))
(add-to-list 'display-buffer-alist
             '(cpm-display-buffer-email-managed-p
               (display-buffer-in-tab
                display-buffer-reuse-mode-window)
               (tab-name . "Email")))
               

from tabspaces.

mclearc avatar mclearc commented on August 22, 2024

Also -- you can use (tabspaces-switch-or-create-workspace) along with whatever hook you have for relevant modes, depending on what you're trying to accomplish (e.g. having a "markdown" tab and using (tabspaces-switch-or-create-workspace) to switch to the 'markdown' tab whenever a markdown mode file is opened.

from tabspaces.

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.