当前位置:网站首页>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 .
边栏推荐
- 剑指 Offer 21. 调整数组顺序使奇数位于偶数前面
- 奶头乐理论介绍及个人感悟
- 【TkInter】布局管理和事件系统
- Eternal Blue ms17-010exp reappears
- Segment tree merge board
- [wechat applet development] custom tabbar case (custom message 99 + little hearts)
- ORM student management system
- Pytorch的旅程一:线性模型
- 深度学习中Dropout原理解析
- Generate publickey with der format public key and report an error
猜你喜欢

Sword finger offer 21. adjust the array order so that odd numbers precede even numbers

4. Basic type and reference type?

32-bit stack overflow advanced

理解corners_align,两种看待像素的视角

Type-C PD protocol chip while charging and listening

matplotlib

Mid year inventory | in 2022, PAAS will be upgraded again

Understand corners_ Align, two perspectives for viewing pixels

04-分布式资源管理系统YARN

CF. Bits And Pieces(子集状压dp + 剪枝)
随机推荐
6. How to add an array in Es5?
全国职业院校技能大赛网络安全竞赛之数据分析数字取证-A
core dump
根证书的有效期与服务器SSL证书一样长吗?
Ionic4 learning notes 13 - Classification List of an East Project
Thread lifecycle and basic methods
ETL development tool kettle download installation environment construction and use tutorial
16. What is the difference between target and currenttarget?
The problem that files cannot be uploaded to the server using TFTP is solved
空间三点画圆代码
Principle and application of database
04-分布式资源管理系统YARN
Introduction to nipple music theory and personal perception
Framework introduction
Ionic4 learning notes 12 - a east project grid completes the list of goods
Wechat applet reverse
9. BOM object?
Cf. bits and pieces (subset pressing DP + pruning)
CF lomsat gelral (heuristic merge)
理解动态计算图,requires_grad、zero_grad