Vim commandYY: The line where the cursor is copied4YY: 4 rows starting at the beginning of the row where the copy is locatedP: PasteDD: The line where the cursor is clipped2DD: Cut cursor line down 2 linesDW: Cut a wordD: The contents of the current
How to set Vim's personal preferencesThe default VI many features are not open, we can customize the VI as needed, you need to modify the vi configuration file, the global configuration file in/ETC/VIMRC, but generally only need to modify the user's
For the first use VI, there are a few notes to remind:1. After opening the file with VI, it is in "command mode" and you want to switch to "insert Mode" (Insert mode) "to enter text. Toggle method: Under Command mode, press aThe next letter "i" can
5.1 Vim Introduction1) Vim is the upgrade version of VI, with color display, also divided into general mode, editing mode, command line mode; Installation Instruction pack, install only oneyum install-y vim> This method installs multiple VIM-related
About VIVI is the abbreviation of "Visual interface", its status on Linux as if the edit program on DOS. It can perform many text operations, such as output, delete, find, replace, block operations, and so on, and users can customize them according
A. Mobile: h,j,k,l: Left, bottom, top, right. W: The first word of the next word. W: Next word (without punctuation). E: The ending of the next word. E: Punctuation is not included. B: The word head of the previous word. B: Punctuation is
General mode: Open a file with vim directly into the general mode, in this mode, you can use the left and right buttons to move the cursor, you can delete characters or delete the positive row, you can copy, paste text data.Edit mode: In general
Children's shoes that often use VIM may notice that in the actual operation, in the insertion mode is very little, more is to view and browse, occasionally modified. Therefore, it is very important to quickly exit from insert mode into normal mode.
Vim has three kinds of Visual mode. In Character-wise Visual mode, we can select anything from a single character up to a range of characters within a line or Spanning multiple lines. This was suitable for working at the level of individual words or
650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M02/9E/25/wKiom1mMALfQw94QAABOR7DbIW0153.png "title=" 2017-08-10 07.png "alt=" Wkiom1mmalfqw94qaabor7dbiw0153.png "/>Vim when editing the file if you suddenly disconnect when you modify the
You have to practice it yourself, or you can't remember.Move cursor: h,j,k,l key^KJVThe H key is on the left and moves to the left each time it is pressedThe L key is on the right, each time you press the right moveq! ExitX-Key DeleteDW Key Deleted$
Text processing in Windows has Notepad, so how do you do text processing on Linux systems? That's using VIM.Understanding VIMPractice: Use VIM to create a new text file in the current directory with the command testvim.txtVim mode1, insert modeIn
1. Empty command Line input2. Delete the most recently entered word3. paste the word at the cursor to the command line4. "Paste the contents of the Nameless register into the command line5. a Paste the contents of register a to the command line6.
first, the visual modeThere are three ways to enter the visual mode: V,v,ctrl+v(1) Press V to enable Visual mode, to select content by a single character,Move the cursor to select.such as:(2) Press V to enable the visual mode, immediately select the
G jump to end of fileGG jumps to the first line of the fileNumber 0 jumps to the beginning of the current line$ jumps to the end of the current lineNgg N is a number that moves to the nth row of a file, such as a 11gg row that can be moved to line 1
One, Vim search1. Forward lookup/reverse lookup?2. Exit Find 3. Jump to the next match N, jump to the previous match n4./ jumps to the next match in the same mode,? jumps to the previous match in the same mode5. Browse previous Find record, view
vim Three modes: General mode edit mode Command modeCopy and paste content can be deleted in general modeTo move the cursor :[Ctrl]+[f]: The screen moves down one page, equivalent to the [PageDown] button.[Ctrl]+[b]: The screen moves up one page,
text Editing1. The cursor moves in the screen text can use the arrow keys, can also use the HJKL letter key.H shift J down K move up L move right2. To enter the Vim editor (from the command prompt line), enter: Vim file name 3. To exit the VIM
Suppose you have the following data, separated by a space for the data column:1 Hevichuan 124.63 172 0.722 Zhang Ziyin 99.67 172 0.583 Week Guang bin 93.34 188 0.504 Chen Xingdong 41.86 188 0.225   ; She
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.