fast-syntax-highlighting
fast-syntax-highlighting copied to clipboard
recover the pasting highlight
After I paste some text onto Zsh, it highlights the pasted part with background color, which is a nice feature that z-sy-h also does. However, with z-sy-h the background would recover when I hit ←/→, turning back into normal highlight mode. Am I able to do the same with f-sy-h? Currently it only clear the background color when I actually edit the line (such as insert or remove a character). My habit is pressing → immediately after confirming that the pasted text is correct.
Hi @FranklinYu, this might help you https://github.com/zdharma-continuum/fast-syntax-highlighting/issues/25#issuecomment-1094035433