• spartanatreyu@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    4 months ago

    You mean a whole different window at the OS level?

    Yes, that way I could switch between windows in a single shortcut, or even place them side by side so I can see both at the same time with other shortcuts.

    That’s just a way inferior hack to the way vim does it by default.

    Can you explain this more?

    Why wouldn’t you want window management to be managed by the window manager?

    • azertyfun@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 months ago

      Sorry, I didn’t log into this account for a while.

      Anyways, I guess in an ideal world the window management could be done fully via the window manager. In practice this doesn’t work too well, because that would require a more complex protocol than currently exists. For VSCode for instance, that would require disabling the native tabbing feature (but keeping the native splitting because otherwise I’ll end up with duplicated panes such as the file list) and implementing something custom to translate tab operations to sway-wm operations (in my case).

      I guess it could work but it’s not supported OOTB, and after a lot of work is probably going to end up being a lot more clunkier than what I have going on in vim.