Closed schinckel closed 9 years ago
Interesting idea! I'll play around a little bit with it before merging.
:+1:
That's a very cool feature ... the only thing i wonder is:
currently the content will only be written to STDOUT if it get's saved at least one time. If you decide to close the editor without saving, you do not get the input to STDOUT ... i am not sure, if this behaviour is intended. What do you think?
Yeah, that is deliberate: it matches the normal save behaviour.
Whatever was last saved is what gets written to stdout.
Ok, merged! Thanks very much!
This allows you to do stuff like:
$ grep "search-string" foo | rmate --wait - | something-else