am-impact / amcommand

Command palette in Craft; Because you can
Other
87 stars 8 forks source link

Change default selection to something other than "Delete all entries" #23

Closed aaronbushnell closed 10 years ago

aaronbushnell commented 10 years ago

I'm worried I may accidentally select this option when invoking the plugin with the keyboard. Maybe it's better to take an Alfred/Yosemite Spotlight approach where you are presented with an empty search field and then options display as you type?

hubertprein commented 10 years ago

That command asks for your confirmation before it'll be executed. I understand the worries that you might accidentally select it though. I'm not really sure if an Alfred/Yosemite Spotlight is the way to go. This way you have no idea what commands are available when you open the palette, since it filters when you start typing.

aaronbushnell commented 10 years ago

Fair enough! I still don't feel like that's the best option to put first, but I agree that showing nothing might not be a good idea either. Maybe I can supplement this a bit for my own use by adding a custom command that is above the others.