Adds a basic Safari-style control for switching between open tabs, showing the filename of the most recently selected window within that tab as the title (which the nvim provided tab bar behaviour).
This addition required some modifications to
I hope this is useful for some people; if it is, I'll work on adding more Touch Bar features.
Testing note: if you don't have a Touch Bar, Xcode has a Touch Bar simulator (Window > Show Touch Bar, or ⌘⇧5).
- in addition to being called when a file is read or written, as before
…e tracking Also adds -currentWindow to NeoVimTab for convenience
I couldn't reproduce this on macOS 10.13, but it looks like I was setting the segmented control titles incorrectly — I've pushed a fix that will hopefully correct this on earlier versions.
(If you are also on 10.13, then I'm a little lost as to why this issue would occur