[Others] 为什么gedit文本粘贴在vim里每行都会增加空行
Tofloor
poster avatar
ieayoio
deepin
2022-08-22 18:24
Author

有人也遇到过吗,为什么gedit文本粘贴在vim里每行都会增加空行,但是深度编辑器却可以正常粘贴在vim里


2023-02-17更新:

这个问题在Ubuntu22.04下不会出现,在deepin下必现,刚换了电脑还是这样,不知道原因在哪,vi/vim里粘贴文本都会多空行

image.png

Reply Favorite View the author
All Replies
raspbian
deepin
2022-08-24 18:17
#1

选到最后一个字的时候不要往下拉

Reply View the author
ieayoio
deepin
2022-08-26 21:48
#2
raspbian

选到最后一个字的时候不要往下拉

你的意思是复制的末尾有个回车符吗,那怎么导致每行都有空格?我最后一行复制了半行还是这样

Reply View the author
ieayoio
deepin
2023-02-17 02:26
#3

有人知道吗

Reply View the author
fax928
deepin
Q&A Team
2023-02-17 02:29
#4
ieayoio

有人知道吗

我猜和每行的换行符有关。试试粘帖到txt里呢?tail

Reply View the author
ieayoio
deepin
2023-02-17 20:34
#5
fax928

我猜和每行的换行符有关。试试粘帖到txt里呢?tail

只是新建一个txt后缀文件,用vim打开还是一样😭

Reply View the author