one. Vim
VIM has three modes: Command mode, insert mode, exit mode
its simple introduction please own Baidu, this article mainly introduces the more detailed common and uncommon but important operation
Vim File # #对file进行编辑
Go to command mode by
The IDE under Windows has some useful features, such as Sourceinsight Shift-f8 highlighting, ctrl-m viewing bookmarks, codeblocks F11 switching source and header files, quick code completion, source file Symbol window, Here are some plug-ins to
Advanced some of the editor, will contain the macro function, Vim is certainly not missing, the use of macros in Vim is very convenient: : QX starts recording macro and registers the result in register X Q Exit Record mode @x playing macro commands
For users who often need to switch to Linux/Unix terminals, VI is often used to edit text. EmacsAlthough powerful, it is more steep to learn, and some systems do not have Emacs by default. For those who do not have a lot of attention about VI, maybe
I have been using Vim for some time, but I still have some knowledge about it.I accidentally found an article on the InternetArticleIt feels good, hoping to bring it to friends like meSome help.
Because there are too many content to copy, I will
Use of the cssag plug-in:1 download: http://cscope.sourceforge.net/2 installation: #./configure# Make# Make install // root permission requiredNote: if an error occurs during the installation process, it is because you want to directly install the
1. viminfo
For operations in Vim, VIM automatically records the operations and stores them in ~ /. Viminfo file. To facilitate next processing, for example, when Vim opens a file, the cursor will automatically display it at the last exit. Previously
The configuration file was found online. I changed the error items
Copy the code to the user directory to create a file named. vimrc.Save to take effect. If you want all users to take effect, modify/etc/vimrc (we recommend that you copy CP first)
"==
Record the learning curve of vim.
Exercise according to the following articles:
Http://coolshell.cn/articles/5426.html
-- 2014.09.14Level 1-survival
I→InsertMode, pressESCBackNormalMode.
X→ Delete a character of the current cursor.
: WQ→
Vim practice manual (6) shortcut keys for common search and bookmarking operations
Author: poechant
Blog: blog.csdn.net/poechant
Email: zhongchao. USTC # gmail.com (#-> @)
Date: January 27Th, 2012
Update: February 27Th, 2012
1. Search for
Reprinted please indicate from "LIU Da's csdn blog": http://blog.csdn.net/poechant
Through the vim practice manual (8) vimide-build your own IDE (A) and VIM practice manual (9) vimide-build your own IDE (B) you may not be satisfied with the two
We recommend a good article about how to use Vim to write c efficiently. The ctags function is similar to source insight.If you want to work in Linux, you don't need to copy the code to Windows every time, and then use source insight ....... It's
1. Vim open the document:
1. Open the document using Vim document name in Normal Mode2. VIM + N document name after opening the document, locate the nth line3. VIM: Enter the vim interface and run the command "E document name" to open the document.
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
VI/Vim basic usageThis article introduces the basic usage of VI (Vim), but it is enough for common users!
The VI editor is a standard editor for all UNIX and Linux systems. It is not inferior to any of the latest text editors. Here we just briefly
Problem description: Use gnome-terminal to open the file editing with vim and exit. The prompt becomes garbled.
Below are some suggestions from Google users.1. I have encountered this problem and changed locale to Lang = zh_cn.Lc_ctype = "zh_cn",
Vi7.0 comes with the automatic completion function omni-completion.
So how does Vim find matching words? By default, VIM performs the following steps when searching for a word:
1. Search the current file.
2. Search in other windows
3. Search for
Vim compilation command
./Configure -- enable-multibyte -- enable-CSTE
-- Enable-multibyte (Vim can be configured in multiple languages)
-- Enable-csinsight (instead of sourceinsight, sourceinsight is a very powerful code reading tool)
Vim Help
Common Vim/Vi operations (version 2)
Colleagues around you are either using vim or Emacs. If you use ultraedit, you are embarrassed to say hello to others. What plug-ins are there? syntax highlighting and spelling check, everything that can be
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service