1. The configuration files in Linux exist in the form of plain ASCII text2, vim text compiler.
General mode: A file opened with VI directly into the general mode, this mode can move the cursor and delete characters, copy and paste, etc.,
1 repeating last commandIn normal mode . (decimal point) means the last command operation is repeatedNormal mode input x , delete the first character, the input . (decimal point) will be deleted again a character, in addition to also can be repeated
Introduction to a VIM modeThe following introductory content is from the Wikipedia vimThere are many modes of vim from VI, this unique design is easy to confuse the beginner. Almost all editors have two modes of inserting and executing commands, and
Vim is an ultra-bull editor with powerful command functions. And most of these commands can be combined, for example, the 9yy command means to copy 9 lines of content, 9 means the number of rows to be copied, the same 100dd means to delete 100 rows,
First, Introduction 1. Vim is a powerful text editor, if used skillfully, will effectively help us improve the efficiency of editing text, programs. Vim Editor's use of the threshold is relatively high, many people are afraid to remember a lot of
The recent use of Git to push code to the Origin development Branch, also appeared several times vim window, to prevent forgetting or record it better;First press the ESC key to exit the editing state, and then press shift+; key, and then press wq!
Viim EditorText: Plain text, ASCII test;Type of text editing:Line Editor: SEDFull Screen Editor: Nano,viOther editors:Gedit a simple graphical editorGvim a graphical version of the VIM editorI. Several ways to open a fileCommand format:vim [options]
In the VI editor we use no color matching is not very good, we install a vim Rich Text editor convenient for our text editing.[email protected] ~]# Yum install vim-yLoaded plugins: Fastestmirror, prioritiesBase | 3.6 KB 00:00:00Extras | 3.4 KB 00:00:
---restore content starts---Under Rootsudo apt-get update//Updatessudo apt-get install vim//installation vimCD ~ Go to home directorymkdir Creating a FolderTouch A.C Create a file A.CA before inserting the Shift+a line before the cursorI after
Https://github.com/junegunn/vim-easy-alignInstall with Vundle, add below to VIMRCPlugin ' Junegunn/vim-easy-align ' "Start interactive easyalign in visual mode (e.g. VIPGA) xmap ga (easyalign)" Start Interactive easyalign for a Motion/text object
1 Ctags Introduction Ctags generates a markup file to help locate an object in the source file.2 its generated tag file tags include a list of these objects:Macros defined with # defineThe value of the enumeration type variableDefinitions,
Vim/vi features a powerful full-screen text editor. The main is to build, edit, display text. www.vim.org Building shell Scripts : Set number causes the file to appear with line numbers A after the cursor attachment file I insert text before the
This article describes the basic use of VI (VIM), but for the average user is basically enough! I/vim the difference is simple, they are multi-mode editor, the difference is that Vim is the upgrade version of VI, it is not only compatible with all
OutlineFirst, what is the vi text editor?Second, vim common mode and switchThird, VIM usage detailedFirst, what is the vi text editor?Text Editor can basically be divided into 2 categories: Full screen editor and line editor, such as SED is the line
Tonight with the Ubuntu 12.04 vim to edit the page code, found that the above Chinese display garbled. This HTML file is I previously edited with Gedit, in gedit inside display normal, but in vim under the display is garbled.How to solve the problem
Reprinted from Http://veerkat.me/blog/posts/fen-xiang-yi-xie-vim-de-pei-zhi-he-cha-jian.htmlVundleThe first thing you have to mention is Vundle, which is a VIM plugin manager that uses git to manage your plugins, just .vimrc add the plug-in name to
The function of Vim editor in Linux is very powerful, many commonly used shortcut keys are very convenient, here will I learn the introduction of vim some of the commonly used shortcut keys to share to everyone, hope to help you.This is the bird in
Vim supports window segmentation and tabbed pages, and using these two features appropriately makes the text editing tool more enjoyable.1. Window segmentationVIM supports horizontal and vertical segmentation of Windows. The following are commonly
Syntax highlighting settingsIn linux, the vim or vi editor does not highlight nginx Syntax by default.Manual configuration is required.1. Download vi syntax highlighting configuration ~ /. Vim/syntax. This directory is created if it does not exist.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service