Using the installation package to install Windows Version Vim (: http://www.vim.org/download.php), VIM automatically sets the vim interface language based on the language of windows. How can I change it to English?
Find the file named "_ vimrc"
This is a pretty good PythonCodeAutomatically completed scripts.
The following Python code can be automatically completed:
Simple Python keyword completion
Python function completion with parentheses
Python module completion
I recently advocated Vim in the project team: the first reason is that the text editors used by everyone are different. They use ue, notepad ++, and editplus, some tools involve copyright issues, and the final text format is not uniform during text
VIM + ctags usage (reproduced)
[/Home/Brimmer/src] $ ctags-R
"-R" indicates recursive creation, which includes the source program under all subdirectories under the source code root directory. The "tags" file contains a list of these objects:
L
Firstly, add these lines in. vimrc (Linux) or _ vimrc (Windows)
"Go word
ABB goword! "C:/program files/Microsoft Office/office12/winword.exe"
"Go IE
ABB goie! "C:/program files/Internet Explorer/iexplore.exe"
Consider you are editing a
How to Control Firefox using Vim keybindings by Joe 'zonker' brockmeier
On
June 22,200 (5:00:00)
Share
Print Comments
VimUsers stick with vim in no small part because muscle memory is soPowerful -- once you 've learned Vim's keybindings, it's
[Syntax]: VI [-wn] [-R] file...[Note]: VI is a full-screen editor based on the line editor ex. All commands of ex and Ed can be used in VI, in the VI option, "-WN" indicates that the size of the editing window is set to N rows, and "-R" indicates
12-09 update: The English version of VIM visual cheat sheet is also available. PNG, PDF)
(Update:Add the basic instruction table and description in the graph andPDFTo facilitate printing and pasting on the wall at any time.)
I was writing that
Automatic indent settings: Set cindent
Format and adjust. =
Manual adjustment. Code auto-completion
Insert mode: C + n to complete the next step; C + P to complete the previous step.Show row number
Command mode: set numberPowerful g
On the one hand, you can see it elsewhere :)
In fact, in the past, Vim's configuration was nothing more than looking at someone else's long configuration file and copying it by yourself. Now it basically forms a habit, add the shortcut key as needed,
Recently, I was a beginner in vim and wrote a very ugly vimrc. I will post it and see it ..
Set nocompatiblesource $ vimruntime/vimrc_example.vimsource $ vimruntime/mswin. vimbehave mswin "I just learned Vim. This configuration file will be
After Vim is installed, if it is not highlighted, set it as follows:
1. If not ~ /. Vimrc, first create
$ VI ~ /. Vimrc
2. Switch to the insert mode and copy the following settings directly:
set autoindentset cindentset
Copy From Vim to system clipboard: "+ YCopy From system clipboard to VIM: "+ P or shitf + insert
In vim, the system clipboard is associated with the vim register +. Therefore, any copy and paste of register ++ directly affects the system
Vim usage notes
**************************************** ****************************************
---- 1 ---- SHIFT + Z in normal mode, equivalent to: WQ
**************************************** ****************************************
----
1. Outside of the insert mode
Basically, you should stay in the insert mode as little as possible, because in the insert mode, VIM is like a "dumb" editor. Many new users will stay in the insert mode because it is easy to use. But Vim is powerful
[Cr + Z] Go to Shell
Shell
$ FG return to the original editing area
So convenient !! In this way, compile and run it, and you can cut it out. Good.
You can also execute various command lines in VIM :! G ++ file :!. /A. Out :! + Various
Main functions of each tool:
VIM: This is a very powerful editor in Linux.Ctags: Command for generating tag files. This is the basis of other tools.Taglist: The function list and global parameter list are listed directly on the left
1Install vimlupa open-source community 0i; mendf
Sudo apt-Get install vim-fullP h'u-] + y ^ 151392
2
, Configuration file location
In the Directory
/Etc/Vim
Below, there is
Vimrc
File, which is public in the system
Vim
Configuration
% Jump to matching brackets
[[Jump to the beginning of the code block (but the '{' in the code block must be a separate line)
GD jump to the definition of a local variable
''Jump to the position where the cursor was stopped last time. It's two '',
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