当前位置:网站首页>vi/vim 删除:一行, 一个字符, 单词, 每行第一个字符 命令
vi/vim 删除:一行, 一个字符, 单词, 每行第一个字符 命令
2022-07-02 16:18:00 【zhangsan3333】
Ubuntu 安装ssh服务&开启ssh服务&重启ssh服务(远程登录)
x 删除当前光标下的字符
dw 删除光标之后的单词剩余部分。
d$ 删除光标之后的该行剩余部分。
dd 删除当前行。
c 功能和d相同,区别在于完成删除操作后进入INSERT MODE
cc 也是删除当前行,然后进入INSERT MODE
VI命令里怎么换行
进入编辑模式按"i"
保存并推出":x"
退出":q"
强制不保存退出“:q!”
:q! 不保存文件,强制退出vi命令
:w 保存文件,不退出vi命令
:wq 保存文件,退出vi命令
边栏推荐
- Laravel文档阅读笔记-Custom Authentication Login And Registration Using Laravel 8
- Embedded ~ introduction
- PMS150C应广单片机开发案例
- Customize a loading instruction
- Freemaker+poi realizes dynamic generation and parsing of Excel files
- Android cycle timer implementation, to achieve fixed Android cache cleaning
- MySQL --- 數據庫的基本操作
- 科班出身,面试小公司都进不去
- Editor Editor Extension add button and logo in scene view
- Hbuilderx runs to the mobile phone or simulator and prompts that the device is not found
猜你喜欢
Editor Editor Extension add button and logo in scene view
Pfc232-sop8/14/16 should be wide-ranging and can be tape programmed with burning program
Mb10m-asemi rectifier bridge mb10m
Bluetooth technology | new working mode of wearable devices of the Internet of things, and Bluetooth ble helps the new working mode
Keras深度学习实战——基于VGG19模型实现性别分类
Redisson 高性能 Redis 分布式锁源码分析
Enter a valid user name and password in the Microsoft LDAP configuration page, and enter a valid user name in the Microsoft LDAP configuration page
透过华为军团看科技之变(六):智慧公路
MySQL -- basic concept of database
wait_for_gap -- 从主库归档备库恢复归档
随机推荐
How can you omit a large number of switch statements
应广单片机PMS150/PMC150/PMS150C消费类单片机
铁塔安全监测系统 无人值守倾角振动监测系统
A4988与42步进电机
Yingguang MCU development case
Explain kubernetes network model in detail
如何下载微信支付证书(API证书)
Easyai notes - deep learning
Microsoft LDAP 配置页中输入有效的用户名及密码,microsoft ldap 配置页中输入有效的用户名
2 juillet: BitTorrent est sorti; L'acquisition du système commercial linspire; Sony Deployment PlayStation now
php获取两个时间戳之间相隔多少天多少小时多少分多少秒
MySQL -- basic concept of database
辉芒微IO单片机FT60F010A-URT
Development and application case of pms134 scheme of Yingguang single chip microcomputer with original packaging
架构设计——ID生成器「建议收藏」
What should we pay attention to in the development process of Yingguang single chip microcomputer?
[nonlinear control theory]7_ High gain and High Frequency
Huimang micro IO MCU ft60f11f-mrb
D constructor problem
Wasserstein slim gain with clipping penalty (wsgain-cp) introduction and code implementation -- missing data filling based on generating countermeasure network