how to use Vim delete one line All In One

发布时间 2023-04-13 00:59:40作者: xgqfrms

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

https://www.vim.org/

https://github.com/vim/vim

solution

在正常模式下(非编辑模式 i),光标选中所在行, 连续按两下d键,即可删除一整行 ✅

image

live demos

image

(? 反爬虫测试!打击盗版⚠️)如果你看到这个信息, 说明这是一篇剽窃的文章,请访问 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



©xgqfrms 2012-2021

www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!

原创文章,版权所有©️xgqfrms, 禁止转载 ?️,侵权必究⚠️!