-
-
Notifications
You must be signed in to change notification settings - Fork 684
Feature request: Native tabs #544
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
Comments
@tushar00jain, @iain are there specific features you're looking for with regards to native tabs? Would it just be to have the option of darker tabs and slightly updated UI/UX? Native tabs don't have a lot in the way of customization and have a limited feature set. iTerm2 isn't using native tabs. They're using a version of PSMTabBarControl that they've modified: https://github.com/gnachman/iTerm2/tree/master/ThirdParty. MacVim is using PSMTabBarControl too! It just doesn't have the same modifications: https://github.com/macvim-dev/macvim/tree/master/src/MacVim/PSMTabBarControl I do think that with High Sierra the GUI code base could use an update as there are several legitimate issues like full screen not working, NSWindow errors, etc. Perhaps part of that could be bringing over some features like a darker UI with dark tabs as an option. (I'm a long-time web developer and am not very familiar with Objective C. I would love to help with MacVim development (and I'm learning) but please take these comments with a huge grain of salt.) |
@ActionScripted I would say what I would love to see is something more than just a darker tabs, although this would also be nice to have. To give an analogy, one can open multiple tabs inside of iTerm, each of which run a different session of vim. However, this is currently not possible with MacVim. Opening a new tab in MacVim is native to vim in the sense that it just uses the same session with all tabs and all buffers can be accessed from any of the tabs. To have multiple sessions of MacVim, one needs to open MacVim in a new window. I'm not sure which approach would be the easiest to approach this but it seems that OSX already supports opening multiple windows as tabs. If it helps, VS Code is doing exactly this with its native tabs feature. |
Wow this would be awesome... how hard is it modify that to make it like iTerm? |
Sorry to clarify -- regarding the dark color only. NOT about the functionality you mentioned about iTerm |
#758 is a related issue. In this case native tabs were triggered inadvertently due to system settings. |
Just as an update, #788 has officially turned off native tabs (it was actually previously turned on but it was buggy). I'll need to investigate if there's actually value in properly supporting native tabs (similar to VS code) before properly supporting it. There are at least a couple things that need to be fixed up including how the menus work, shortcut keys, and rendering artifacts that show up. Just for reference some people here confused "native tabs" with dark tabs, which #791 did add (it will turn on when you turn on dark mode in Mojave). Native tabs refer to High Sierra's feature of grouping multiple distinct macOS windows into one tabbed window, so if we support it you will see two hierarchy of tabs. Each native Mac tab will be a window that runs a Vim instance, each still having its own Vim tabs. It's not a replacement for the normal Vim tabs. |
iTerm2 now has even better looks in my opinion. Requested the following similar feature: #962. |
@mvcouwen I personally agree with you. However, I know a few people who like toolbar and tab bar list separate. |
This seems to be implemented. Using latest version on Catalina. |
I'm pretty sure native tabs is not implemented though. |
Is it possible to support native tabs as shown here
https://support.apple.com/en-us/HT206998
The text was updated successfully, but these errors were encountered: