MBP Touchbar Support (take 2) by ychin · Pull Request #715 · macvim-dev/macvim
and others added 3 commits
July 26, 2018 22:05Enabled states now work. E.g. a mapped Touch Bar button using "vmenu TouchBar.DoStuff <nop>" will not show up in normal mode. Also support specifying default Apple template icons. E.g. "an icon=NSTouchBarListViewTemplate TouchBar.ShowList <Nop>" Remove default TouchBar buttons as there were too many of them and most of them are unlikely to be heavily used as there are direct Vim command equivalent. Instead just add a single fullscreen toggle button. This can be changed later.
ychin
mentioned this pull request
Make sure to check MAC_OS_X_VERSION_10_12_2 so older Xcode / SDK versions will still be able to build MacVim, albeit without Touch Bar. Also make sure to use `NSClassFromString(@"NSTouchBar")` to check during runtime to avoid MacVim crashing for users using older versions of macOS when they by mistake bind a menu item with TouchBar as main menu (nothing will show up instead).
splhack added a commit that referenced this pull request
Aug 3, 2018
Issues related to keyboard or other types of input
Issues related to UI elements, tabs, scrollbars, window resizing, etc.
and removed Input
Issues related to keyboard or other types of inputlabels
Oct 7, 2020This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters