I frequently use the copy_with_empty_selection feature on my mac Sublime. I use cmd-c to copy a line (without highlighting it) and then I can paste it into my browser or other programs. The only downside for me is that a newline character is added at the end of the line that I copied. This can be confirmed by using this page: https://www.textmagic.com/free-tools/unicode-detector
I need to get rid of that trailing newline character. I searched for a setting in sublime but found none. I am not familiar with the concept of key bindings, but is this something that can be done? for instance, to instruct sublime to only copy the line but to trim the trailing new line char, if it exists. Perhaps using a regex or some other approach. Thanks for reading.