当前位置:网站首页>vim相关介绍(三)
vim相关介绍(三)
2022-07-29 23:42:00 【The code family】
三种模式切换
进入命令 vi/vim filename
退出方式:shift+冒号和q,之后按回车。
eg
命令到末行 输入 :(英文)
末行回命令 按一次或者两次esc(一次要等1.5s);或者删除末行的全部指令。
命令到编辑 按下i、a、o等
- i:在光标所在字符前开始插入
- a:在光标所在字符后开始插入
- o:在光标所在行的下面另起一新行插入
- I:在光标所在行的行首开始插入如果行首有空格则在空格之后插入
- A:在光标所在行的行尾开始插入
- O:在光标所在行的上面另起一行开始插入
- S:删除光标所在行并开始插入
编辑回命令 按一下esc
边栏推荐
- [2023 School Recruitment Questions] Summary of knowledge points and hand-tear code in the written test and interview
- go语言(函数、闭包、defer、panic/recover,递归,结构体,json序列化与反序列化)
- 指令集数据产品如何设计和实现报表协同系统——基于指令集物联网操作系统的工业协同制造项目开发实践
- High Numbers|Calculation of Triple Integral 3|Uncle High Numbers|Handwritten Notes
- [leetcode] 80. Delete duplicates in sorted array II (medium) (double pointer, in-place modification)
- JSON.parseObject 带泛型告警
- Dropout回顾
- The latest Gansu construction welder (construction special operation) simulation question bank and answer analysis in 2022
- Elementary C language - first understanding of C language
- C陷阱与缺陷 第5章 库函数 5.4 使用errno检测错误
猜你喜欢
Design for failure 12 common design ideas
线上无序的
MySQL【基本select语句】
BEVDetNet:Bird‘s Eye View LiDAR Point Cloud based Real-time 3D Object Detection for Autonomous Drivi
jenkins搭建部署详细步骤
多商户商城系统功能拆解18讲-平台端商家售后
437. The total path III low low
logback过期日志文件自动删除
【小程序项目开发-- 京东商城】uni-app之自定义搜索组件(下) -- 搜索历史
Framework 到底该怎么学习?
随机推荐
Farmers on the assembly line: I grow vegetables in a factory
esp12f + tft display picture problem
Codeforces Round #805 (Div. 3)总结
EA&UML日拱一卒-多任务编程超入门-(7)关于mutex,你必须知道的
Design for failure常见的12种设计思想
logback过期日志文件自动删除
决策树原理及代码实现
Windows 安装 MySQL 5.7详细步骤
全国双非院校考研信息汇总整理 Part.8
深度学习的随机种子
devops学习(三) K8环境部署jenkins
单片机开发之拓展并行I/O口
29岁从事功能测试被辞,面试2个月都找不到工作吗?
线上无序的
Apache Doris 1.1 特性揭秘:Flink 实时写入如何兼顾高吞吐和低延时
第一范式、第二范式、第三范式
[leetcode] 75. Color classification (medium) (double pointer, in-situ modification)
[2023 School Recruitment Questions] Summary of knowledge points and hand-tear code in the written test and interview
CesiumJS ^ source read [0] 2022 - article directory and source engineering structure
call、apply 以及 bind 的区别和用法