copy vim text, colors included
Fresh3 days ago
Mar 15, 20262035 viewsConfidence Score0%
0%
Problem
I have a vim open on code, and the code is highlighted. I would like to write this code to a file, including the color codes used to highlight the text. How can I achieve this ?
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: copy vim text, colors included
Low Risk
Vim's achieves this. It saves the active buffer with the syntax coloring as HTML. It might be included in your Vim installation, so try ahead issuing .
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix