例如:
我想合并这样的文本
CATEGORIES = [‘Books’,
‘Business’,
‘Education’,
‘Entertainment’,
‘Finance’,
‘Games’,
‘Healthcare & Fitness’,
‘Lifestyle’,
‘Medical’,
‘Music’,
‘Navigation’,
‘News’,
‘Photography’,
‘Productivity’,
‘Reference’,
‘Social Networking’,
‘Sports’,
‘Travel’,
‘Utilities’,
‘Weather’,
‘All’,]
进入
CATEGORIES = [‘Books’,‘Business’,‘Education’,‘Entertainment’,‘Finance’,‘Games’,‘Healthcare & Fitness’,‘Lifestyle’,‘Medical’,‘Music’,‘Navigation’,‘News’,‘Photography’,‘Productivity’,‘Reference’,‘Social Networking’,‘Sports’,‘Travel’,‘Utilities’,‘Weather’,‘All’,]
在命令模式下:
原文链接:https://www.f2er.com/bash/390053.html[range]j[lines]
EG:这里你想做整个缓冲区:
%j
如果你只是想从当前光标位置做10行:
j10
如果你不想用空格替换新行使用!后j。
%j! j!10
和为了uberfancy:
5j20
会去第5行,并加入接下来的20行。