Saturday, May 9, 2026

Format not preserved when pasting from Google's AI-Generated output to Vim.

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 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 vim_use+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/11130928-145d-468f-b547-f160151f9363n%40googlegroups.com.

No comments: