The current implementation is more of a demo. It only supports
placeholders that are surrounded by whitespace (or the end of the
command). Nevertheless, the functionality is quite nice. E.g.:
selection-helper=fuzzel --dmenu0 --mesg %s
I am opening this PR to start discussion about whether this feature is appropriate for fnott, and how it should be implemented. I won't be offended if this particular code doesn't get merged; I just find it easier to discuss design with a minimal implementation.
The current implementation is more of a demo. It only supports
placeholders that are surrounded by whitespace (or the end of the
command). Nevertheless, the functionality is quite nice. E.g.:
selection-helper=fuzzel --dmenu0 --mesg %s
I am opening this PR to start discussion about whether this feature is appropriate for fnott, and how it should be implemented. I won't be offended if this particular code doesn't get merged; I just find it easier to discuss design with a minimal implementation.