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
Requirements:
Find a batch of HTML files from the current directory and use an HTML file to express their addresses with hyperlink so that other pages can be accessed through this page in the browser.
1. Find.-INAME "* Valid *. *"> valid.txt
The cursor control command moves the cursor h or ^ h to move one character J or ^ n to move one row K or ^ P to move one row up l or space to move one character G to the right the last line of the file moves ng to the nth line of the file W to the
1. Window/Tab
Switch directory tree: Ctrl + O or nerdtreetoggle
: B number jumps to the upper Tab
Reload Directory: nerdtree
Multi-Window Splitting:
(Reference: http://hi.baidu.com/dtzw/blog/item/64a6f3f2fc10721eb07ec590.html)
: New is a
SourceProgramFiles (usually plain text files) Comparison and merging tools have always been an important part of the software development process. Many powerful dedicated comparison and merge tools on the market, such as beyondcompare. Many ide or
Create a tab
Use: TabeCommand and file name parameters, you can open the specified file in the new tab. You can also use: TabnewCommand to edit the new file in the new tab. Command: Tab splitThe file in the current buffer is opened in the new tab.
VI usage and operations
Before introducing how to use VI, it is important to understand that VI has two basic modes. The two basic modes are input mode and instruction mode. In the input mode, the text is displayed on the screen. In the command
When you use putty or securecrt to connect to a Linux server and use VI to edit *. php or *. c files,The blue comment is very light and hard to see. It looks very eye-catching. The effect is as follows. I am used to the default color scheme and
To use advanced search and replacement functions in Vim, you must be familiar with the regular expressions in Vim. Vim regular expressions are similar to the syntax of common regular expressions, but there are some differences.Next we will introduce
I. Linux→Command mode: Vim filename
Move a cursor at a timeH J K LTop left bottom right
Intra-row Movement0To the beginning of the lineD0Or d ^ Delete to the beginning of the line$To the end of a rowD $Delete to end of line
In vim, there are four encoding-related options:fileencodings,fileencoding、encodingAndtermencoding. In actual use, any option error may cause garbled characters. Therefore, each Vim user should clarify the meaning of these four options.
1. Encoding
1. Download The ctags file from the following address and copy the ctags.exe file to the gvim directory, for example, E: \ Vim \ vim73 \ ctags.exe.Http://sourceforge.net/projects/ctags/files/ctags/5.8/ctags58.zip/download
After that, you 'd better
--------------------------------------------------
In ubuntu, how does one right-click the terminal?Right-click the terminal and add a menu. Sudo apt-Get install Nautilus-open-Terminal
--------------------------------------------------
Install
Installation and Use of vim_latex
I. InstallationVim-latexsuite is a free software dedicated to combining latex and vim. Although the size is small (the installation file is only 0.21 MB), it is powerful and comfortable to use.Server. Its
Some advanced editors will contain macro functions, which are certainly not missing in vim. It is very convenient to use Macros in vim:
: QxStart recording macros and store the results into Register xQ exit record mode@ XMacro commands for playing
Reprinted from: http://blog.163.com/zhang_sheng_cun/blog/static/46288667200792604435190/
Http://hi.baidu.com/istang/blog/item/b8a38d6e0d0f1fd780cb4a2b.html
When you use vim to edit a terminal, by default, the editing interface does not display line
From: http://www.cnblogs.com/sunblackshine/archive/2011/08/25/2152962.html + http://easwy.com/blog/
With vim + cssag/ctags, You can implement the Source Insight function and conveniently view the Source code for analysis.
Key words: vim, cssag,
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