The philosophy of the Linux system is all documents, we usually need to fill in the content of the file is often used in the text editor before we learned the Nano editor, but the Nano editor features a single, not suitable for complex operations, this article will be the main learning function of the more powerful VI and VIM
This record vim how this text editor is used and how it is used. Basic ConceptsIn the Linux environment, the configuration file is very important for the whole system, and it is all in ASCII plain text, and the text editor can be used to make the configuration easy to modify.VI is the most common full-screen plain text editor
Generally, the default editor in Ubuntu is nano. You can directly edit a file to enable nano by default. For example, when "crontab-e" is input, the nano editor is opened by default. If anyone familiar with VIM wants the default editor to use vim, we need to modify the defau
1. Vim Common Operation1.1 Vim Introduction(1) Vim is a powerful full- screen text editor , which is the most commonly used text editor on Linux/unix, and its function is to create, edit and display text files.(2) Vim has no menu,
directly copy, delete and other operations.14. Find/pattern from file header to tail? PATTERN looks from the line where the cursor is located to the file headerN: when matching to multiple, n looks down to the nextN: When matching to multiple, N finds the nextXV, find replacement (used in the last line mode)Startline,endlines/pattern/string/gi., $-1s/ba/ob/gi from the current line to the penultimate row to find all the BA replaced by OB ignores case global substitution.See a few days of the tu
Original link: http://jingyan.baidu.com/article/219f4bf7d03187de452d3862.htmla Vim console version of Vim is released with Ubuntu, so it is not necessary to install it. However, if you prefer vim under the GUI interface, please install the VIM-GTK software package in the following two ways:1. Search for
OverviewVI Editor is the most commonly used in Linux system Text editor, vi in the Linux world has the editor of God's reputation in almost all Linux distributions are included in the VI program.vi work in character mode, do not need a graphical interface, very suitable for remote and embedded work, is a very efficient text e
1. enter the vim editor mode: (when entering the vim editor, the default mode is the command mode) enter vi on the terminal: Enter the vim editor vifilename: Enter the vim
Vim is the enhanced version of VI, one of the important philosophical ideas of Linux is all files, and the majority of configuration files on the system are saved with a text file, so mastering a powerful, easy-to-use text editor for Linux system Management is very necessary.Use of vim:1. Open a file with vimVim [Options] FileIf the file exists,
Modify the ubuntu Default Editor to vim. In general, the default editor under the ubuntu terminal is nano. You can directly edit a file to enable nano by default. For example, when "crontab-e" is input, the nano editor is opened by default. If anyone familiar with VIM wants
Pycharm tutorial (6) Use Pycharm as the Vim editor and pycharmvim
Pycharm is used as the Vim editor. The specific content is as follows:
1. Subject
If you are a fan of Vim and do not plan to use other types of editors, this tutorial will be more suitable for you. Here we wil
One, when the Vim is not installed, prompt installation[Email protected]:~/test$ VIM ABCThe program ' Vim ' is already included in the following packages:* VIM* Vim-gnome* Vim-tiny* Vim
The most common use of the editor under Linux is vim or vi text editing. The difference between VI and Vim editor is that VIM is an improved version of VI, and it expands a lot of useful functions on the basis of VI editor. in mos
the ESC key is pressedInput mode-à edit modeESC exits input mode and returns to edit modeEdit mode-à last-line mode: Enter the last line mode from edit modeLast-line mode-à edit modeESC exits the last line mode and returns to edit modeOpen vim#vim Open the VIM program editor#vim
Before the development of NS3, the first thing we need is the editor, in addition to the original VI, VIM as the enhanced version of VI, is the first choice, the second can consider gedit. This article has selected vim.In the higher version of Ubuntu, Vim is generally installed. Then the use of Vim is described below:V
From: http://www.cnblogs.com/yongtan/archive/2011/09/21/2183014.html
It seems that we have encountered Chinese garbled characters in VIM in windows before, I just used it a little and I am too lazy to try it out. // This problem was not found until I tried a Vim plug-in introduced by caspatant last night to implement the Twitter client function --- twitvim. the message is garbled at all... So I decided to s
Vim Editor
Question 1: What is the difference between word processors in a text editor?
The text editor only processes plain ASCII files.
Nano (full screen editing), sed (line, command line)
Question 2: What is Vi?
VI: Visual Interface
VIM: VI improved (enhanced version o
Vi and vim Editor (9): Global replacement (2)
The previous article has learned how to use the ": s" command in the vi editor to perform global replacement. In addition, you can use regular expressions in the replacement command to perform powerful pattern matching. This article will learn more examples of pattern match
The previous article has learned how to replace globally with the ": S" command in the VI editor, and you can use regular expressions in replacement commands for strong pattern matching. This article will learn more examples of pattern matching to further familiarize yourself with regular expressions.Example of pattern matching:(1) match a complete word: as shown, if you need to replace all the child words
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.