Taitava / obsidian-shellcommands

Execute system commands via hotkeys or command palette in Obsidian (https://obsidian.md). Some automated events are also supported, and execution via URI links.
GNU General Public License v3.0
351 stars 11 forks source link

Option to pass editor selection to command’s stdin #88

Closed dathanb closed 1 year ago

dathanb commented 2 years ago

I’d really like to be able to pipe the editor’s current selection to a command on its stdin fd. I think that option should be a toggle in the per-command settings modal.

dathanb commented 2 years ago

I’m happy to make a PR for that - I have it written already, actually, just working through some edge case handling - but wanted to get feedback on the best user experience for it before finishing up and submitting it.