Open Trevoke opened 8 years ago
Smex has a command called smex-major-mode-commands which lets you select a function defined in the current major mode. A useful restriction.
smex-major-mode-commands
https://github.com/nonsequitur/smex/blob/55aaebe3d793c2c990b39a302eb26c184281c42c/README.markdown#show-only-major-mode-commands
https://github.com/nonsequitur/smex/blob/55aaebe3d793c2c990b39a302eb26c184281c42c/smex.el#L120
Could we have a similar one in counsel?
We already use smex elsewhere, so I don't see why not.
Don't mind my late-night mistakes…
Smex has a command called
smex-major-mode-commands
which lets you select a function defined in the current major mode. A useful restriction.https://github.com/nonsequitur/smex/blob/55aaebe3d793c2c990b39a302eb26c184281c42c/README.markdown#show-only-major-mode-commands
https://github.com/nonsequitur/smex/blob/55aaebe3d793c2c990b39a302eb26c184281c42c/smex.el#L120
Could we have a similar one in counsel?