1. Full-text coverageAfter the program is published to the test and development environment, it is often necessary to telnet to the Linux change code. Usually in the IDE, CTRL + A, CTRL + V to cover the entire document, you need to do this in vim
using vim to edit binary files is the first through the external program xxd to dump the file into the second binary text form, and then you can edit the file in the usual way, editing, and then using XXD conversion to the original form. Can be
Although today is National day, but study can not stop, today is learning is liunx, more important 2 editor, VI and Vim, perhaps someone asked why to learn these 2? There is no easy-to-use Nano.Mainly because there are some other liunx version,
The first version of VI was written by Bill Joy in 1978, when he was a UC Berkeley student. Later he co-founded the Magical Sun Company. VI is derived from the word visual, the goal is to visually simulate the editing of text on the terminal, is
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
Morning: Redirect:Tadafa (| character) can connect commands ll–l/etc/| Less Vim Advanced text editor vim introduction650) this.width=650; "title=" image "style=" border-left-0px; border-right-width:0px; Background-image:none; border-bottom-width:0px;
1. Summary of the use of the text Editing tool vim650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/72/A4/wKiom1Xpq2-CsSpzAAXcWbe4sX4262.jpg "title=" Vim usage Diagram "alt=" Wkiom1xpq2-csspzaaxcwbe4sx4262.jpg "/>2. File Find command
Copy the/etc/grub.cfg configuration file to the/tmp directory and use the Find and replace command to delete the white space character at the beginning of the/tmp/grub.cfg file;650) this.width=650; "src="
650) this.width=650; "src=" http://www.oschina.net/img/logo/Vim_logo.gif?t=1399607809000 "alt=" vim_logo.gif?t= 1399607809000 "/>
about Vim :
Vim is a well-known, powerful, highly customizable text editor similar to VI, which improves
Findis the most common and powerful find command, you can use it to find any file you want to find.Find uses the following format:Find ---[[email protected]/]# find. -name ' bin* ' finds all files in the current directory that begin with
Cause: Yesterday, from the GitHub clone source, some of the Readme.txt files were garbled when Vim was turned on. Find the answer on the Internet, it is said that the Linux character set and Windows character set incompatibility caused by the
Recently in the use of VIM plug-in Commandt when the problem is actually VIM does not support Ruby, but Google found a solution, the attitude of the foreigner is very admirable, the results of Niang search too let people disgusting.Affixed, and then
1. The system only installs the Vim-minimal, and executes the following command to install the other two componentsYum Install vim-commonyuminstall vim-enhanced2. Installing CtagsYum Install CtagsDownload linux-2.6.32.27 kernel source and extract to
CD ~Ls-al will find a. vimrc fileOverwrite the following code with the. VIMRC contentMap : Call Saveinputdata () func! Saveinputdata ()Exec "Tabnew"exec ' normal ' +GP 'Exec "w! /tmp/input_data "Endfunc"ColorScheme Torte"ColorScheme
Global substitutionFormat:":%s/to replace character/replace with new character/g":%s/old/new/gSpecify line substitutionFormat: ": Starting line, terminating line s/to replace character/replace with new character/g": 1,5 s/old/new/g
Multi-file
The following command is limited to Noramal mode: Enter normal mode (bee mode, because in some cases, only according to this bee to determine whether in normal mode) ': Go to mark, jump to mark , ' x moves the cursor to marker x ~: Case conversion,
: g/^$/d Delete blank line:%d delete all rows: g/^[0-9]*$/d Delete Only the number of rows if you want to change the file name of the file that is currently being edited, the workaround is to first use: F to Buffer name, and then delete the original
As a software siege lion (yes, I've always been a siege lion!) I firmly believe that every day now, in the siege of the lion, despite being wrapped in the flesh of the rookie, I still have the heart of the Siege Lion! I hate it when people call me a
General mode: Delete, copy and paste the class command x,x x to remove a character backwards, X for a character that was previously deleted, NX (n represents a number) to remove the N characters back to the DD delete when Move
Bloggers have always been using the spring version of Vim to masturbate Python, VIMRC only some color, keys, tab settings and other small functions. In the middle also by Amway over some tall IDE, tried JetBrains pycharm CE, Wing IDE 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.