diff --git a/lib/minimap-quick-settings-view.coffee b/lib/minimap-quick-settings-view.coffee index 28729b09..95bf6ec4 100644 --- a/lib/minimap-quick-settings-view.coffee +++ b/lib/minimap-quick-settings-view.coffee @@ -28,11 +28,11 @@ class MinimapQuickSettingsView extends View @subscriptions.add Minimap.onDidDeactivatePlugin ({name, plugin}) => @deactivateItem(name, plugin) - @subscriptions.add atom.commands.add this, + @subscriptions.add atom.commands.add '.minimap-quick-settings', 'core:move-up': => @selectPreviousItem() 'core:move-down': => @selectNextItem() 'core:cancel': => @destroy() - 'core:validate': => @toggleSelectedItem() + 'core:confirm': => @toggleSelectedItem() @codeHighlights.toggleClass('active', @minimapView.displayCodeHighlights) @codeHighlights.on 'mousedown', (e) => @@ -88,7 +88,8 @@ class MinimapQuickSettingsView extends View item = $("