how to use Vim delete one line All In One
how to use Vim delete one line All In One
Vim
- the ubiquitous text editor
Vim is a highly configurable text editor built to make creating and changing any kind of text very efficient. It is included as "vi" with most UNIX systems and with Apple OS X.
Vim is rock stable and is continuously being developed to become even better. Among its features are:
persistent, multi-level undo tree
extensive plugin system
support for hundreds of programming languages and file formats
powerful search and replace
integrates with many tools
solutions
- 在正常模式下(
非编辑模式 i
),光标选中所在行, 连续按两下d
键,即可删除一整行 ✅
可视化模式
d - 剪切
- 在
编辑模式
下,光标选中所在行(可以是多行), 按一下d
键,即可删除一行(多行) 🚀
live demos
(🐞 反爬虫测试!打击盗版⚠️)如果你看到这个信息, 说明这是一篇剽窃的文章,请访问 https://www.cnblogs.com/xgqfrms/ 查看原创文章!
Vim Cheat Sheet
dd - 剪切当前行
https://vim.rtorr.com/lang/zh_cn/
https://github.com/rtorr/vim-cheat-sheet
refs
https://www.warp.dev/terminus/delete-line-vim
https://www.educative.io/answers/how-to-delete-lines-in-vim
图解 VIM
https://www.cnblogs.com/xgqfrms/tag/图解 VIM/
https://www.cnblogs.com/xgqfrms/tag/vim/
©xgqfrms 2012-2021
www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!
原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/17312009.html
未经授权禁止转载,违者必究!