Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Problem copying string from Gina log #239

Closed
weiguoquan422 opened this issue Dec 23, 2019 · 4 comments
Closed

Problem copying string from Gina log #239

weiguoquan422 opened this issue Dec 23, 2019 · 4 comments

Comments

@weiguoquan422
Copy link

What I want to copy is something like
47c9675 add Measure_Term,Measure_Mode; 16 hours ago (HEAD -> master)

But when I copy and paste in V mode or ctrl-V mode, the result is
�[32m47c9675�[m add Measure_Term,Measure_Mode; �[33;1m16 hours ago�[m �[35;1m�[m�[36;1m (HEAD -> master)�[m

How can I solve this problem?

@lambdalisue
Copy link
Owner

Unfortunately, it's a feature for now. Gina relies on the ANSI escape sequence to distinguish terms so it cannot be removed from the buffer content.

PR is welcome 👍

@lambdalisue
Copy link
Owner

You may love https://github.com/chikatoike/concealedyank.vim which remove concealed text when yank.

@weiguoquan422
Copy link
Author

You may love https://github.com/chikatoike/concealedyank.vim which remove concealed text when yank.

@weiguoquan422
Copy link
Author

Thanks, I'll try.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants