Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature suggestion: run snippets on mouseclick #9

Closed
rebot opened this issue Aug 22, 2018 · 2 comments
Closed

Feature suggestion: run snippets on mouseclick #9

rebot opened this issue Aug 22, 2018 · 2 comments

Comments

@rebot
Copy link

rebot commented Aug 22, 2018

Hi,

I'm a big fan of your command-line utility and want to use it as a way to store some frequently used commands and snippets. Is it possible to allow snippets to run in your current command-line session when the text in the 'um pages' is clicked? Or can anyone suggest me a command-line utility that might be more usefull to obtain this functionality?

schermafbeelding 2018-08-22 om 21 48 40

Kind regards,

Gilles

@sinclairtarget
Copy link
Owner

um is really just an elaborate shell script that ties together a bunch of programs. So when you view an um page, you use an external program, typically either less or man. So adding this feature would involve changing those programs, not um.

Hypothetically, you could get um to use a different pager program that supported something like this. See the Configuration section of the README for how to do that.

@rebot
Copy link
Author

rebot commented Aug 24, 2018

Thank you for your response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants