TermiT / Flycut

Clean and simple clipboard manager for developers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

trim leading and trailing whitespaces and eols?

ryenus opened this issue · comments

It would be great to have an option to turn on this feature.

What a wonderful idea, that certainly gets a +1 👍 from me as well 😸

That gets into feature creep for a pasteboard history. You can easily do this on the command line with the “pbpaste” and “pbcopy” commands. e.g. “pbpaste | sed ‘s/^ *//;s/ *$//‘ | pbcopy”.

Yes!
This would be fantastic.
Please please please do this.
Every time I copy and paste multi-line code snippets, which is what I am doing 98% of the time, I would use this.
Every ... single ... time.

This is what would be perfect for me (I know, maybe not anyone else):

I know! Implement editorconfig! 😹

Seriously, there are a lot of libraries to implement all of those requested features (and a few more as well) with editorconfig support, and at least it's pretty much standard across a lot of editors (both native and online).