0
点赞
收藏
分享

微信扫一扫

vim/vi多行编辑、多行删除

IT程序员 2024-11-18 阅读 18
vim运维

1:针对上面的vim_test文件,删除第7-19行

在ESC模式下,输入

:7,19d







参考文章:

https://blog.csdn.net/xueqinmax/article/details/100153229

https://blog.csdn.net/wallwind/article/details/7633356

https://blog.csdn.net/xueqinmax/article/details/100153229

https://cn.linux-console.net/?p=12251

https://blog.csdn.net/weixin_30062415/article/details/116545493

https://www.linuxprobe.com/vim-delete-lines.html




举报

相关推荐

0 条评论