-
-
Notifications
You must be signed in to change notification settings - Fork 683
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
Unable to permanently remove fullscreen button from touchbar #997
Comments
@mathsaey Thank you for an issue, it's true, as the code handling this will be executed every time. The funny thing, I wonder why it won't be added every time you exit from fullscreen. Probably Apple handles this well. |
Will fix this next update. It was a mistake in the way I set it up. |
Add new global var g:macvim_default_touchbar_fullscreen that can disable the fullscreen Touch Bar button. Add documentation as well. Fix macvim-dev#997.
Vim patch 8.2.319 General: - MacVim is now upgraded to Vim 8.2! Fixes: - Fix mvim:// protocol handler to handle spaces in file names. #1002 - Allow the fullscreen toggle on the Touch Bar to be disabled. #997 - Fixed potential infinite recursion draw crash. #985 Targets macOS 10.9+ Script interfaces have compatibility with these versions: - Lua 5.3 - Perl 5.18 - Python2 2.7 - Python3 3.7 - Ruby 2.7
I was working on Touch Bar stuff and remembered this issue. @mathsaey I didn't think about this back then, but if you want to put the fullscreen Touch Bar button on the right you just need the following in your anoremenu 1.1 TouchBar.-flexspace- <Nop>
tlnoremenu 1.1 TouchBar.-flexspace- <Nop> |
Another tip for those who find this issue later on - I had to put
At the top of my vimrc file in order to disable the fullscreen toggle. It didn't work further down in that file. |
Describe the bug
I have removed the "toggle full screen button" from my touchbar by putting the following in my gvimrc:
However, once I re-enter fullscreen once, the button reappears. I'm guessing that this is related to the logic that toggles the button between "enter fullscreen" and "leave fullscreen".
To Reproduce
.gvimrc
Expected behavior
I expect the cleared button to not reappear.
Environment (please complete the following information):
Additional context
I want to remove the button in question since it's quite easy to accidentally hit it when reaching for the "esc" key. Placing it on the right by default might be an idea worth thinking about.
The text was updated successfully, but these errors were encountered: