当前位置:网站首页>VI and VIM commands
VI and VIM commands
2022-07-28 06:29:00 【Strange patron saint】
vi command
Ctrl+u: Turn the document half screen first ; Ctrl+d: Turn half the screen to the end of the document ; Ctrl+f: Flip to the end of the file ; Ctrl+b: Turn to the first screen of the document ; Esc: Switch from edit mode to command mode ; ZZ: Save the changes made to the current file in command mode and exit vi; : Line number : The cursor jumps to the beginning of the specified line ; :$: The cursor jumps to the beginning of the last line ; x or X: Delete a character ,x Delete... After cursor , and X Delete... Before cursor ; D: Delete all characters from the current cursor to the end of the line where the cursor is ; dd: Delete the positive line of cursor line ; ndd: Delete the current line and after n-1 That's ok ; nyy: Put the current line and below n The contents of the line are saved to the register ? in , among ? For a letter ,n Is a number ; p: Paste text operation , Used to paste the contents of the cache area below the current cursor position ; P: Paste text operation , Used to paste the contents of the cache above the current cursor position ; / character string : Text search operations , Used to find the content of the specified string from the end of the file starting from the current cursor position , The search string will be highlighted ; ?name: Text search operations , Used to find the content of the specified string from the current cursor position to the file header , The search string will be highlighted ; a,bs/F/T: Replace text operation , Used in a Go to the first place b Between the lines , take F Replace the string with T character string . among ,“s/” Indicates a replacement operation ; a: Add text... After the current character ; A: Add text at the end of the line ; i: Insert text before current character ; I: Insert text at the beginning of the line ; o: Insert a blank line after the current line ; O: Insert a blank line before the current line ; :wq: In command mode , Perform save exit operation ; :w: In command mode , Perform save operation ; :w!: In command mode , Perform forced save operation ; :q: In command mode , Execute exit vi operation ; :q!: In command mode , To enforce a compulsory exit vi operation ; :e file name : In command mode , Open and edit the file with the specified name ; :n: In command mode , If you open multiple files at the same time , Then continue to edit the next file ; :f: In command mode , Used to display the current filename 、 The line number and display scale of the line where the cursor is located ; :set number: In command mode , Used to display the line number... At the far left ; :set nonumber: In command mode , Used to not show line numbers at the far left ;
vim command

边栏推荐
- USB network native driver for esxi updated to support esxi7.0.1
- Matlab simulation of radar imaging 2 - pulse compression and windowing
- Shuffle Net_v1-shuffle_v2
- CLIP Learning Transferable Visual Models From Natural Language Supervision
- How to test industrial Ethernet cables (using fluke dsx-8000)?
- Communication between DSP and FPGA
- Triode design, understanding saturation, linear region and cut-off region
- 【服务器使用记录】通过跳板机登录远程服务器并进行文件传输
- PyTorch 学习笔记
- ICC2使用report_placement检查floorplan
猜你喜欢

天线效应解决办法

The short jumper dsx-8000 test is normal, but the dsx-5000 test has no length display?

Monitor the CPU temperature of raspberry pie 4B installed with esxi on ARM

Create a basic report using MS chart controls

初学者进行传感器选型

VS Code 基础配置与美化

毕业论文 | 文献综述应该怎么写

How to view the transfer function of the module directly built by Simulink

USB network native driver for esxi updated to support esxi7.0.1

clickhouse聚合之内存不足怎么办?那就提升聚合性能
随机推荐
IMS-FACNN(Improved Multi-Scale Convolution Neural Network integrated with a Feature Attention Mecha
Matlab simulation of radar imaging 1 - LFM signal and its spectrum
Bag of Tricks训练卷积网络的技巧
In asp Usage of cookies in. Net
Fluke dtx-sfm2 single mode module of a company in Hangzhou - repair case
Bert bidirectional encoder based on transformer
How to calibrate dsx2-8000? Calibration process?
Overall understanding of PLC
Word自动目录字体修改和行间距的问题
Why should fluke dsx2-5000 network cable tester be calibrated once a year?
CLIP Learning Transferable Visual Models From Natural Language Supervision
PT 基于Multi Voltage的Physical Aware
Pycharm2019设置编辑器主题和默认代码
Efficient Net_ V2
Pytorch learning note 4 - automatic calculation of gradient descent autograd
set_ false_ path
A NOVEL DEEP PARALLEL TIME-SERIES RELATION NETWORK FOR FAULT DIAGNOSIS
ICC2(一)Preparing the Design
EMC experiment practical case ESD electrostatic experiment
EfficientNET_V1