Skip to content

vim

image-20260307161917325

sh
vim PATH
  • PATH:文件路径,如果不存在,则创建并打开,文件存在则直接打开

  • 删除行

sh
dd
  • 复制行,在需要粘贴处按下p进行粘贴
sh
yy
p