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

0 views
Skip to first unread message

Rick B

unread,
5:09 PM (2 hours ago) 5:09 PM
to vim_use
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.

Reply all
Reply to author
Forward
0 new messages