Command history
Commands with: and/start with history, you can first type: or/And then press the up and down arrows to select a history command.
Start vim
Enter the following command in the Command line window
Vim starts vim directly
Vim
It's been a long time since the last article was published. In the past six months, although the code is not much, but in contact with the computer some other knowledge, including the database, the network, the feeling can digest, write code level
In the process of learning to use VIM, we know that in vim, the paste copy of the command is y/p, but we always encounter such a problem: How to paste the contents of vim inside the vim or copy of the content of the vim outside to paste into
Vim keyboard mapping (map) Setting keyboard mappingUsing the: Map command, you can bind a key on the keyboard to the VIM command. For example, using the following command, you can enclose the word in curly braces with the F5 key:: Map i{ea}Where: i{
Fix an issue where pasting in Vi/vim will have a lot more indentation and whitespace at the beginning of the line SECURECRT will send your original text intact to the server as a string style. So when the vim on your server is set to Autoindent, in
Vim Multi-file editor (even Linux notes) http://blog.csdn.net/lcj_cjfykx/article/details/18805721Each file opened with vim corresponds to a buffer (buffer is the memory space allocated by the system to the open file), and each buffer has an ID.1.
King-cdqTime: 16/08/19Original articles, reproduced please specify the source (the author and the original link).For special purposes, please contact me email:[email protected]
I have heard of Kali's name, integration of a variety of
Source:Http://www.cnblogs.com/itech/archive/2013/02/18/2915279.htmlThe beautifully formatted Perl code is not only pleasing to the eye, but also easy to read.Perltidy is a small project of SourceForge, after we have written a messy code, he can be
The learning curve of Vim is quite large (see the learning curve of various text editors), so if you start to see a bunch of Vim's command classifications, you're bound to lose interest in the editor. The following article is translated from "Learn
1. Select a text block. Using V to enter the visual mode, move the cursor key selection. 2. The command to copy is Y, which is yank (lifted), and the commonly used commands are as follows: Y Copies the selected block to the buffer when a piece is
If we open more than one file at a timeLook at the files in the current directory:[Email protected]/data/webroot/testroot/application/modules/admin/Views $ lltotal -drwxr-xr-x2Wangkongming wangkongming4096July - -: the. DRWXR-xr-x4Wangkongming
Reference: http://wdicc.com/search-in-vim/1, simple substitution expressionThe Replace command can replace another word with one word in the full text::%s/four/4/g----Replace four with 4The "%" range prefix indicates that substitutions are performed
When you use Vi/vim in Ubuntu, you find that you cannot use the system's clipboard.On the Internet a check, the original is less loaded a few things.Use the following command to install the associated package. Once the installation is successful,
Installation of syntastic after the discovery does not support c++11, will prompt the error incompatible with c++98, the workaround is as follows:. VIMRC Add:Let G:syntastic_cpp_compiler = ' g++ 'Let g:syntastic_cpp_compiler_options =
Using VIM to compile the projectEnvironment configuration1.MAKEPRG variable, which can be used to set the compiled command, simple command assignment to it both, with SET syntax2. Execute: The make command executes the compile command.3. The better
Javascript is a Web scripting language. Vim is the preferred editor for many programmers. Vim can be widely used to automatically complete the Javascript syntax. To use this feature, you must enable it first.
In Vim command mode, enter the
This article sets Vim only for Ubuntu and Fedora systems. I have not tried other Linux versions. Please forgive me! Thank you.
In ubuntu, the vim configuration file is stored in the/etc/Vim directory. The configuration file name is vimrc.
In
The above is, all can be listed in my resources, and the instructions for use are attached below:
Usage:1. Put. vimrc in the vimrc package in the/home or/root directory (depending on your identity ).2. Put the files in plugin and Doc in
Use vim (2): common functions and use functions of vim1. Common vim FunctionsCommon functions of vim, including block selection, copying, multi-file editing, and multi-window functions.2. vim Block SelectionBlock Selection is to copy and paste one
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