Invalid vim format when I paste text from windows #8885

Closed
opened 2026-01-31 01:40:24 +00:00 by claunia · 2 comments
Owner

Originally created by @trinhcanhphuc on GitHub (Jun 7, 2020).

When I copy config from link: https://ubuntu.com/tutorials/install-and-configure-wordpress#3-configure-apache-for-wordpress. Then I paste to vim in wsl2 ubuntu. Format text will invalid

Originally created by @trinhcanhphuc on GitHub (Jun 7, 2020). When I copy config from link: https://ubuntu.com/tutorials/install-and-configure-wordpress#3-configure-apache-for-wordpress. Then I paste to vim in wsl2 ubuntu. Format text will invalid
claunia added the Issue-QuestionNeeds-Tag-FixResolution-Answered labels 2026-01-31 01:40:24 +00:00
Author
Owner

@DHowett commented on GitHub (Jun 7, 2020):

You need to enter insert mode or :set paste in vim.

Closing this since it doesn't have an example of what's happening -- we can't really debug it like this.

@DHowett commented on GitHub (Jun 7, 2020): You need to enter insert mode or `:set paste` in vim. Closing this since it doesn't have an example of what's happening -- we can't really debug it like this.
Author
Owner

@trinhcanhphuc commented on GitHub (Jun 8, 2020):

Ok thanks, let me check later

@trinhcanhphuc commented on GitHub (Jun 8, 2020): Ok thanks, let me check later
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#8885