I use the keymap
'.platform-darwin': 'alt-tab': 'tree-view:toggle-focus' to switch between the editor and the tree view, and that mapping works fine.
I tried to add a similar keymap
'.platform-darwin': 'alt-i': 'tree-view:toggle-vcs-ignored-files' that would toggle ignored files from anywhere, but that didn’t work. The default binding (
'.tree-view': 'i': 'tree-view:toggle-vcs-ignored-files') does work, so I’m confused why the new one wouldn’t.
Is there some reason that action can only happen if the context is the
.tree-view? Or am I missing something more obvious?