当前位置:网站首页>4. Text editor
4. Text editor
2022-07-22 21:12:00 【Hehe 1112】
Text editor
Vim
vim Multiple modes and operations :
Interactive mode ( The default mode ): Cannot enter text
Insertion mode : You can enter text , Alphabetic keyboard i、I、a、A、o、O Enter to insert different letters. After entering the insertion mode, the cursor position is different , Exit mode ESC
Command mode :“:” Number key , Then enter the command to execute the command , After executing the command, it will return to interactive mode
Visual Modes ( Not commonly used )
Vim operation :w
: Save the file :q
: Exit file :q!
: Forced exit , Don't save changes :wq
: Save and exit :g
: Line number +G Or line number +gg, In command mode set nu
Show rows ,set nonu
Don't show line numbers /
: Search from the current cursor to the end of the file ,n next N the previous ?
: Search from the current file to the beginning of the file :%s/ Old string / New string /g
: Replace file r
: Append the contents of a file to the current file
边栏推荐
- Using openresty as the gateway to authenticate and access static resources
- When the project goes online, the old data needs to be modified, and writing SQL is too troublesome. Look at the powerful function of Excel with simple SQL
- 【PyTorch深度学习实践】学习笔记 第四节 反向传播
- 给table的td设置了 colspan 失效
- JUC-6.3-并发容器-队列
- [lttng learning journey] - a preliminary study of trace view
- [LTTng实操]------设计一套东西监控某周期运行用户程序的执行时间和周期--需求分析和方案设计
- [lttng learning journey] - environment construction
- Using simple JS to realize arc layout
- JUC-7.1-线程协作-Semaphore
猜你喜欢
Using simple JS to realize arc layout
BUUCTF闯关日记--[CISCN2019 华北赛区 Day2 Web1]Hack World
[pytorch deep learning practice] learning notes section III gradient decline
[LTTng学习之旅]------Components of LTTng 解构
Thread pool 01 -- basic use
Using MySQL database in Django
Buuctf breakthrough diary 02-- [hctf 2018] warmup1
Buuctf breakthrough diary 04 -- [actf2020 freshman competition]include1
Multithread 07 -- ThreadLocal
微信小程序入门教程学习笔记
随机推荐
BUUCTF闯关日记--[MRCTF2020]Ezpop1
微信小程序综合案例实践2
BUUCTF闯关日记--[MRCTF2020]你传你呢(超详解)
解决TraceCompass网站打不开和Stackoverflow显示不全的问题
MVCC
[LTTng学习之旅]------环境搭建
BUUCTF闯关日记--[CISCN2019 华北赛区 Day2 Web1]Hack World
毕设路线—pytorch环境下的深度学习的高光谱图像分类问题
Buuctf entry diary 01 -- easysql
[LTTng学习之旅]------在用户程序中简单的添加一个trace点
嵌入式系统学习笔记
采用openresty作为网关为静态资源鉴权访问
Thread pool 01 -- basic use
微信小程序入门教程学习笔记
(七)vulhub专栏:Log4j远程代码执行漏洞复现
JUC-6.2-并发容器-CopyOnWriteArrayList
Chapter 2: Minio stand-alone version, using the client to back up files
Pytorch自动求导
第八章:自定义异常返回
[lttng learning journey] - simply add a trace point to the user program