lambdalisue / vim-gina

👣 Asynchronously control git repositories in Neovim/Vim 8
http://www.vim.org/scripts/script.php?script_id=5531
MIT License
688 stars 27 forks source link

Problem copying string from Gina log #239

Closed weiguoquan422 closed 4 years ago

weiguoquan422 commented 4 years ago

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 47c9675 add Measure_Term,Measure_Mode; 16 hours ago  (HEAD -> master)

How can I solve this problem?

lambdalisue commented 4 years ago

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 commented 4 years ago

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

weiguoquan422 commented 4 years ago

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

weiguoquan422 commented 4 years ago

Thanks, I'll try.