The Vim plug-in is a. Vim script file that defines functions, mappings, syntax rules, and commands that you can use to manipulate windows, buffers, and rows. A general plug-in contains the command definition and event hooks. When you write a vim
1. Mobile Instruction(1). h J k L, direction key, memory skills: Left and right direction is the leftmost and the rightmost, j down a tick, so is the downward key, the remaining k is the up key.(2). b, before, Last word (first word)W, Word, next
1, VIM fast move the cursor to the beginning and end of line
1 Press the Home key on the keyboard to quickly move the cursor to the beginning of the line. Use ^ (SHIFT + 6) or 0 (number 0) in command/Normal mode to return to the beginning of the
Download Global on the website download global source
Http://www.gnu.org/software/global/download.html
Compile and install Global./configureMake sudo make install
Gtags vim script configures copy global source directory to
[vim] with sudo permission to save vim open readonly file
The following command is to be stated in this article:
: W! sudo tee% >/dev/null
In the Linux configuration, you will change to read-only files, such as/etc/profile
$ ls-al/etc/profile-rw-r–
Read Catalogue
One: Vim Quick Start
II: VIM Document editing
Three: Find replacements
IV: Getting Started with advanced features
Back to CatalogOne: Vim Quick start1.vim Mode IntroductionThe following introductory content
Article Source: http://blog.sina.com.cn/s/blog_5e357d2d0100zmth.html
Command
Simple description
: W
Saves the edited file content, but does not exit the vim Editor. The purpose of this command is to write the
Linux Basic command Finishing (iii)-----------Process and VimFirst, the process1. View the processPS: Intercepts the state of the program running at a point in timeA: All the processesX: Background processU: Effective user-related processes (common
Vim command, Vim is a good editing tool, below for you to introduce the basic command of VIM.Method/Step
1"Vim command-Start vimtutor": Execute command: Vimtutor. Vimtutor is an introductory tutorial on VIM usage. You can get started in 25-30
Refer to the VIM regular expressionA comparison with the previous Linux shell regular expression (bres,eres,pres) can be combined to seeThe regular expressions in VIM are powerful and can do a lot of unthinkable things if they are free to use.I.
Vim Select text, delete, copy, pasteThe selection of text, for the editor, is a very basic thing, also often used, summarized as follows:V starts at the current position of the cursor, where the cursor is selected, and then ends with a click of v.V
Tag: equals ' function ' defines command height positioning meaning character shortcutOne. Cursor movement^ to the first non-whitespace character of the line.+ to the first non-whitespace character at the next line-to the first non-whitespace
August 8, the main learning contents are:First, the Text Processing tool SEDSecond, VIM editor
First, the Text Processing tool SED1) Introduction
Sed is a stream editor that processes a single line of content at a time. When
Transferred from: http://harttle.com/2015/11/04/vim-ide.htmlA year ago I switched from vim to Webstorm because of the powerful refactoring capabilities of Webstorm and the Super Search feature. The advantages of Webstorm when it comes to multi-file
Since 1970, VI and Vim have become one of the programmers ' favorite text editors. 5 years ago, I wrote a question called "100 vim commands that every programmer should know." This is an improved version of the previous article, I hope you will like
First, enter the editorLine: Edit,e,exScreen: Vi,v,viewVi-r filename (continue the accidental file edit)VI file1 file2 file3 (after editing the previous file, use: W to save, use: N to start the next file edit)Vi-x filename (edit to encrypt
Maybe there are a lot of people who are not willing to use the CLI vi/vim to write things, but when you really get used to it, its efficiency is immeasurable. The following picture, a look to understand, from now on, learning becomes no longer
Today colleague small partner suddenly told me that he used the editor Sublime3 cause the notebook suddenly lag, look at that time memory ate 30G, and his notebook total 8G memory, suspect is memory leak, decisive change back to the original used
Finally, the configuration was not successful for the past two days.
Software required:
Ctags
Taglist
1, ctags.
1) Description:
I will not demonstrate this. My redhat5.5 itself has ctags.
2) Verify that ctags has been installed:
Input on the
From: http://www.ibm.com/developerworks/cn/linux/l-tip-vim3/index.html
3.1. Vim script Basics
In the. vimrc file, and in the plug-in and syntax files mentioned in Chapter 2, the language used is the Vim script language. The syntax of this script
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.