The% address range symbol, which represents all lines in the file, is equivalent to the address range 1,$. Matches any single-character (except for newline characters), such as Y.S can match yas Y.s or Y S, and so on.* Matches 0 or more occurrences
Reference:http://blog.csdn.net/lingdxuyan/article/details/4993868Http://www.cnblogs.com/softwaretesting/archive/2011/09/23/2185851.htmlAbout SWP files using VI, often can be seen. SWP this file, how is this file generated, when you open a file, VI
Moving the cursor in VIM is a big difference from other editors, but once you learn it, you'll quickly move through the text.Copy and pasteDD Deletes the cursor in the rowDW Delete one word (word)X Delete Current characterX Delete
First, move the cursor1, left shift H, right shift L, Move down J, move up K2. Page Down CTRL + F, PAGE up Ctrl + B3. Turn down half a page Ctrl + D, turn up half a page Ctrl + U4, move to the end of the line $, move to the beginning of 0 (number),
Reference Address: Https://github.com/ma6174/vimVIM/ETC/VIMRC " Below is the Add F4 hotkey to automatically add the file header note Information Map ms:call addauthor () ' Sfunction addauthor () let n=1 while n This article from "Do not
Practice One:Add or remove users by accepting user-entered user names,./adminuser.sh --add User1,user2,jack,donggen means adding 4 users who are automatically entered, with the same password as the username entered--del means to delete
Source: Vim Command Collection Command historyCommands with: and/begin with a history, you can first type: or/Then press the up and down arrows to select a history command.Start vimEnter the following command in the Command line windowVim starts vim
Environment: Kali LinuxVim's configuration file is stored in the/etc/vim directory with the configuration file named VIMRCSet nocompatible "Remove the relevant VI conformance mode to avoid bugs and limitations of previous versions"Set nu! "Show line
Reprinted from: http://blog.csdn.net/chuanj1985/article/details/6873830 in Ubuntu the configuration file for vim is stored in the/etc/vim directory with the configuration file named VIMRCThe configuration file for vim in Fedora is stored in the/etc
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,
My first blog, 2 o'clock in the morning overtime do not want to sleep, casually write points. I rookie one, study hard, strive to become a great God.The first article to write something, I am currently engaged in the operation of the dimension, as
Guide
Today Vim is a favorite Linux text editor for everyone and a favorite open source tool for developers and system managers. Most people are just familiar with Vim's most basic operation and can only use Vim to modify text at the terminal,
You can use the: s command to replace a string in Vi/vim. The command has a number of different details of how to use the method, you can implement complex functions, record several here, convenient later query.: s/vivian/sky/replaces the current
Normal vim of the movement, editing and other commands will not repeat. Here is the main record of some unusual but very strong orders, so that you instantly feel the spirit of spirits command1. : Tlist1) This command lists the class name, variable
I hate it when I just started using VI text Editor! I think this is the most painful and anti-human editor ever designed. But I decided I had to learn it, because if you're using unix,vi everywhere and is the only one that guarantees you can use the
Text replacement in Vim: 1. Replace the contents of the current line: :s/from/to/ (S is substitude) : s/from/to/ & nbsp : replaces the first from in the current row with the to. If the current line contains multiple
First, set the automatic completion of parenthesesInoremap ""ESC>iinoremap "" "ESC>Iinoremap (()ESC>Iinoremap [[]ESC>iinoremap {{}ESC>ICR>ESC>VOWhere curly braces {set, auto-complete and line-wrap indent, which is especially useful when writing
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]
" This article declined to reprint Original from http://990487026.blog.51cto.com"Steps:1,windo ws platform installation notepad++2,notepad++ Installing the FTP plugin3, Set login properties4, create file, set encoding5, edit the file, compile and
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.