rg.el
rg.el copied to clipboard
When copying from buffer `*rg*`, some internal text is included
To reproduce:
- Search for anything.
- Go to buffer
*rg*
, select a whole result line and copy it. - Yank anywhere.
Result: some internal invisible text that probably means "highlight from this column" is copied.
Example (searching for "defun" in this project's source code), this is what I see:
File: rg-isearch.el
39 (defun rg-get-isearch-string ()
This is what I get if copy the match line anywhere:
39 2 (defun rg-get-isearch-string ()
As a user, I don't need this and it is very annoying to delete this every time. It must remain internal details and not get in my way.
Yes, this is an internal implementation detail. I don't plan to fix it though since I think this is a minor issue. Could do a real skip column
setting possibly but if you want this (with the drawbacks it entails) you would have to submit a PR.