当前位置:网站首页>Introduction to VIM
Introduction to VIM
2022-07-24 18:41:00 【The code family】
Common compilers :1.Linux Own services 2. Cross platform compiler ( Development and Application )
- Vi Introduce
Vi The editor is all Unix And Linux Standard Editor under the system , From the United States countries University of California, Berkeley Of Bill Joy Created by . Be similar to windows Under the system nolepad ( Notepad ) Editor , Because in Unix And Linux Any version of the system ,Vi The editor is exactly the same , So it can be introduced in any other vi All places can further understand it ,Vi It's also Linux The most basic text editor in , After learning it , We will be in Linux In the world of , Especially in the terminal .
About vim:
vi and vim All are Linux Editor in , The difference is ,vim More advanced , Can be regarded as vi Updated version of .vi Used in text editing , however vim More applicable to coding( Code writing )
Vim Point is the movement of cursor , Mode switch , Delete , Search and replace , Copy , Paste , Use of revocation order .
- vim There are three main modes of
Vim There are three basic patterns in : Command mode 、 Edit mode ( The input mode )、 Last row mode ( Tail mode ).
Command mode : In this mode, you can't edit files directly , You can enter the shortcut key for some operations ( Delete row , Copy line , Move the cursor , Paste and so on ) [ The mode entered by default after opening the file ];
Edit mode : In this mode, you can edit the contents of the file ;
Last row mode : You can type a command at the end to operate on the file ( Search for 、 Replace 、 preservation 、 sign out 、 revoke 、 Highlight and so on );
vim How to open the file
#vim File path As described above
#vim + Numbers Path to file effect : Open the specified file , And move the cursor to the specified line
#vim +/ key word Path to file effect : Open the specified file , And highlight the keywords
#vim File path 1 File path 2 File path 3
effect : Open multiple files at the same time .
边栏推荐
- 使用 tftp 无法向服务器上传文件问题解决
- 5. Reference type and value type as function parameters?
- Zip compression and decompression
- 初识Pytorch和Pytorch环境配置
- Introduction to nipple music theory and personal perception
- Four ways of simple interest mode
- L4l7 load balancing
- Getting started with MySQL database
- CF. Bits And Pieces(子集状压dp + 剪枝)
- 微信小程序逆向
猜你喜欢

Ionic4 learning notes 8 -- UI component 2 list (no practice, direct excerpt)

EasyUI adds row level buttons to the DataGrid

Escape character in JS?

How to solve the problem that yaml in idea is unrecognized or red?

Type-C PD protocol chip while charging and listening

Ionic4 Learning Notes 6 -- using native ionic4 components in custom components

The difference between static method and instance method

Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag

缺失值处理

Sqoop
随机推荐
Vsftpd2.3.4-端口渗透 6200 irc_3281_backdoor
轻松学Pytorch-迁移学习实现表面缺陷检查
We have to understand the four scopes: application, session, request and page
The problem that files cannot be uploaded to the server using TFTP is solved
ORM student management system
球面上绘制圆matlab仿真
Traversal and splicing of strings
Show or hide password plaintext + password box verification information
Leetcode memory deep search / dynamic planning V2
5. Reference type and value type as function parameters?
全国职业院校技能大赛网络安全竞赛——Apache安全配置详解
Pytorch的旅程二:梯度下降
理解动态计算图,requires_grad、zero_grad
middleware
Vsftpd2.3.4 port penetration 6200 IRC_ 3281_ backdoor
Ionic4 learning notes 13 - Classification List of an East Project
Template syntax [easy to understand]
[today in history] July 24: caldera v. Microsoft; Amd announced its acquisition of ATI; Google launches chromecast
Mysqlworkbench performance analysis tool -- Performance dashboard
Go Xiaobai implements a simple go mock server