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"
Many people, like me, use some Vim win ing patches. For example, a famous command that maps Ctrl + S to save:
Noremap : Update
Vnoremap : Update
Inoremap : Update
The problem with this patch is that when we use omnicomplete
If it's too simple, you can find a manual. Here we will talk about some tips. It's also recently used to make it easy to learn.
1. Global replacement(1) V + G + $ select all, and then enter: S/original string/Target string/(2): % S/original string/
Directly go to the topic:
Basically, VI is divided into three modes: general mode, edit mode, and command mode. The functions of these three modes are as follows:
Normal Mode: open a file using vi and directly enter the normal mode. In this mode,
Install gvim on Ubuntu 10.10.
Start download and install
Sudo apt-Get Update (update the source, which is optional)
Sudo apt-Get install vim-gnome
After installing OK,Configure the menu for gvim (Two methods)
Method 1: sudo
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,
This is a plug-in for VIM. You can see the name. It belongs to the same author as the nerd tree. With this plug-in, you can comment out files of various file types in different ways and quickly. This is undoubtedly a tool to improve efficiency and
Vim has been used for a while, but it is still at the cainiao level. Write down frequently used shortcut key commands:
CTR + Z: equivalent to ESC
CTR + P: Code Completion DD: Cut P: paste Y: Copy Za: fold format code: Gg = g remarks:
Gg -- arrive at
This article is based on the Linux kernel practice. The author is Ren qiaowei.
We don't need to say much about Vim. We are all using it. Cssag knows C + scope by looking at the software name. It is designed to browse C code. Through cscope, you can
From: http://blog.csdn.net/jixiuffff/article/details/5695806
Install Vim first (of course, JDK installation is required for Java development)
Emerge-AV Vim (install the vim command on the Gentoo system, you can use rpm, Apt-Get)
Install the
This problem has plagued me for a long time.
During large-scale copy and paste with the mouse, due to the existence of the comment lines in the Code, the indentation will become longer and longer, and the entire back is messy and all are commented
I am not disgusted with the Linux system, but I am disgusted with complicated command operations. I feel that as a programmer, I should focus on the Code architecture and writing, rather than memorizing these commands.
I wrote this article
First, this error is caused by your own carelessness. when creating the file, you use the root permission and find that WQ cannot save and exit after editing in VI. The error e212 is displayed: the file cannot be opened and written. I have not run
In Linux, the vim editor has very powerful functions and many common shortcut keys are very convenient to use. Here, I will share some common shortcut keys that I learned when learning vim, and hope to help you.
This is what I sorted out from
Because I have been using the VC + VC assistant for development in windows, so I have long been used to the syntax highlighting and Automatic completion, so I am a little uncomfortable in VIM development, therefore, we want to slightly change the
VI advanced command collection and VIM Application Instances1. Swap two character locationsXP2. Change the upper and lower linesDDP3. Reverse the File Content: G/^/M0/(not passed)4.
VIM + ctags + taglist + code_complete another article transformed Vim into a powerful ide-Vim integrated ctags/taglist/cs.pdf/winmanager/nerdtree/omnicppcomplete (with graphs with truth)
Vim usage notes
**************************************** ****************************************
---- 1 ---- SHIFT + Z in normal mode, equivalent to: WQ
**************************************** ****************************************
----
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.