Format not preserved when pasting from Google's AI-Generated output to Vim.
Rick B <[email protected]> Sat, 9 May 2026 11:52:09 -0700 (PDT)
| Newsgroups | gmane.editors.vim |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_121344_1326142306.1778352729143 Content-Type: multipart/alternative; boundary="----=_Part_121345_698534251.1778352729143" ------=_Part_121345_698534251.1778352729143 Content-Type: text/plain; charset="UTF-8" Please advice, when I paste text from AI-text generated output from the browser to Vim the format is not preserved as the pasted text shows all in one sentence, and it is not structured a it appears in the source text in the browser. This only happens with text generated from Google's AI since other pasted text like text from a web search is pasted properly as it shows in the browser, or any other source like Word formatted text. I think I have tried most pasting commands and tried also the ":set paste" and ":set no paste" with no success. Please refer to the following example: Original text from the browser Google's AI Output: "Why Use Vim for Prose - Modal Editing: Allows for quick maneuvering and editing (Normal mode) versus typing (Insert mode). - Keyboard-Centric: Keeps hands on the home row, increasing efficiency by eliminating mouse usage. - Plain Text Focus: Encourages writing in Markdown <https://www.markdownguide.org/> or simple text, which is lightweight, non-proprietary, and future-proof." And this is how the pasted text shows in Vim: "Why Use Vim for ProseModal Editing: Allows for quick maneuvering and editing (Normal mode) versus typing (Insert mode).Keyboard-Centric: Keeps hands on the home row, increasing efficiency by eliminating mouse usage.Plain Text Focus: Encourages writing in Markdown or simple text, which is lightweight, non-proprietary, and future-proof." Regards. -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/vim_use/11130928-145d-468f-b547-f160151f9363n%40googlegroups.com. ------=_Part_121345_698534251.1778352729143 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Please advice, when I paste text from AI-text generated output from the bro= wser to Vim the format is not preserved as the pasted text shows all in one= sentence, and it is not structured a it appears in the source text in the = browser.<div><br /></div><div>This only happens with text generated from Go= ogle's AI since other pasted text like text from a web search is pasted pro= perly as it shows in the browser, or any other source like Word formatted t= ext. I think I have tried most pasting commands and tried also the ":set pa= ste" and ":set no paste" with no success. Please refer to the following exa= mple:</div><div><br /></div><div>Original text from the browser Google's AI= Output:</div><div><div role=3D"heading" style=3D"font-family: "Google= Sans", Arial, sans-serif; font-size: 20px; font-weight: 600; margin: = 24px 0px 12px; border-bottom: 0px rgb(0, 29, 53);">"Why Use Vim for Prose</= div><div style=3D"font-family: "Google Sans", Arial, sans-serif; = font-size: 16px; margin: 0px; border-bottom: 0px rgb(10, 10, 10);"><ul styl= e=3D"margin: 12px 0px 16px; border-bottom: 0px rgb(10, 10, 10);"><li style= =3D"margin: 0px 0px 12px; border-bottom: 0px rgb(10, 10, 10);"><span style= =3D"margin: 0px; border-bottom: 0px rgb(10, 10, 10);"><span style=3D"font-w= eight: 600; margin: 0px; border-bottom: 0px rgb(10, 10, 10);">Modal Editing= :</span> Allows for quick maneuvering and editing (Normal mode) versus typi= ng (Insert mode).</span></li><li style=3D"margin: 0px 0px 12px; border-bott= om: 0px rgb(10, 10, 10);"><span style=3D"margin: 0px; border-bottom: 0px rg= b(10, 10, 10);"><span style=3D"font-weight: 600; margin: 0px; border-bottom= : 0px rgb(10, 10, 10);">Keyboard-Centric:</span> Keeps hands on the home ro= w, increasing efficiency by eliminating mouse usage.</span></li><li style= =3D"margin: 0px 0px 12px; border-bottom: 0px rgb(10, 10, 10);"><span style= =3D"margin: 0px; border-bottom: 0px rgb(10, 10, 10);"><span style=3D"font-w= eight: 600; margin: 0px; border-bottom: 0px rgb(10, 10, 10);">Plain Text Fo= cus:</span> Encourages writing in <span style=3D"margin: 0px; border-bottom= : 0px rgb(10, 10, 10);"><a target=3D"_blank" rel=3D"noopener" href=3D"https= ://www.markdownguide.org/" aria-label=3D"Markdown. Vista previa del v=C3=AD= nculo. Sitio: Markdown Guide. T=C3=ADtulo: Markdown Guide. URL: https://www= .markdownguide.org/." style=3D"margin: 0px; text-decoration: underline 1px = rgb(26, 13, 171); border-bottom: 0px rgb(26, 13, 171);">Markdown</a></span>= or simple text, which is lightweight, non-proprietary, and future-proof."<= /span></li></ul><div>And this is how the pasted text shows in Vim:</div><di= v><div role=3D"heading" style=3D"font-size: 20px; margin: 24px 0px 12px; bo= rder-bottom: 0px rgb(0, 29, 53);">"Why Use Vim for ProseModal Editing: Allo= ws for quick maneuvering and editing (Normal mode) versus typing (Insert mo= de).Keyboard-Centric: Keeps hands on the home row, increasing efficiency by= eliminating mouse usage.Plain Text Focus: Encourages writing in Markdown o= r simple text, which is lightweight, non-proprietary, and future-proof."</d= iv></div><div role=3D"heading" style=3D"font-size: 20px; margin: 24px 0px 1= 2px; border-bottom: 0px rgb(0, 29, 53);">Regards.</div><div role=3D"heading= " style=3D"font-size: 20px; margin: 24px 0px 12px; border-bottom: 0px rgb(0= , 29, 53);"><br /></div></div></div> <p></p> -- <br /> -- <br /> You received this message from the "vim_use" maillist.<br /> Do not top-post! Type your reply below the text you are replying to.<br /> For more information, visit <a href=3D"http://www.vim.org/maillist.php">htt= p://www.vim.org/maillist.php</a><br /> <br /> --- <br /> You received this message because you are subscribed to the Google Groups &= quot;vim_use" group.<br /> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a href=3D"mailto:[email protected]">vim_use+uns= [email protected]</a>.<br /> To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/= vim_use/11130928-145d-468f-b547-f160151f9363n%40googlegroups.com?utm_medium= =3Demail&utm_source=3Dfooter">https://groups.google.com/d/msgid/vim_use/111= 30928-145d-468f-b547-f160151f9363n%40googlegroups.com</a>.<br /> ------=_Part_121345_698534251.1778352729143-- ------=_Part_121344_1326142306.1778352729143--