MBP Touchbar Support (take 2) by ychin · Pull Request #715 · macvim-dev/macvim

and others added 3 commits

July 26, 2018 22:05
- addressed review feedbacks
- documentations
Enabled 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

ychin

@ychin ychin mentioned this pull request

Jul 29, 2018

jpetrie

@ychin

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
Binary targets macOS 10.8+

- Vim patch 8.1.0235
- Touch Bar support #715
- Force click support #716
- New guioption 'k' #708
- Fix CoreText renderer

Script interfaces have compatibility with these versions

- Lua 5.3
- Perl 5.18
- Python2 2.7
- Python3 3.7
- Ruby 2.5

@ychin ychin added Input

Issues related to keyboard or other types of input

UI

Issues related to UI elements, tabs, scrollbars, window resizing, etc.

and removed Input

Issues related to keyboard or other types of input

labels

Oct 7, 2020