在我的文本文件中,我有一行:some text
我想some other text在第一行的开头添加另一个文本,以便该行现在看起来some other text:some text。:some text在使用命令之前,我一直在尝试拉出所需的文本并移动光标p,但复制的文本出现在上面的行中:some text。
我想知道是否有某种方法可以做到这一点。
如果有一种方法可以选择多段文本并将其放在多行的开头,那就太好了。例如,如果文件读取:
some text
some other text
line1
line2
我想选择line1并line2把它放在开头,some text所以some other text它看起来像
line1 some text
line2 some other text