1 plugin directory ~/.vim/bundle/ not available for self-creation2 Installing Vundle$ git clone https://github.com/vundlevim/vundle.vim.git ~/.vim/bundle/vundle.vim 3 Configuring PluginsVI ~/.VIMRCAdd to: set nocompatible "Be improved,
Vim is an upgraded version of VI and is an important text editor in Linux. The key features of VIM are:1. Full Screen2, support the mode switch3, the function is exceptionally powerful.The most common modes in VIM are the edit mode, the insert mode,
The most complete vim shortcut key in history!! Learn Linux friends look over, you do not think the Linux editor vim operation Complex, the steps cumbersome? Do Linux engineers want to boost their productivity dramatically?Classic Version The
First, prefaceBefore learning vim, but for a variety of reasons, did not continue to study, in fact, perseverance is not enough, not able to persist, so now vim will only be simple operation, really ashamed. Now pick up the learning vim and record
We all know that when we copy and paste between a file, Vim provides us with a lot of methods, three modes have a method to achieve the characters, sentences, paragraphs between the copy and paste. At that time, ifWe want to copy and paste between
Vim can be regarded as the most famous editor on Linux system, and it is the enhanced version of VI editor, its biggest feature is the full use of the keyboard to operate. Getting out of the mouse operation makes it difficult to get started, but the
Original URL: http://blog.sina.com.cn/s/blog_620ccfbf01010erz.htmlFor vim to better support Python to write code, modify the tab default 4 spaces There are two ways to set up:1. VIM/ETC/VIMRC
1
setts=4
1. Learn to touch typing blind play is the foundation of everything the focus is on hand-eye coordination if blind play cannot be achieved. All high-efficiency vim operations will be impossibleUse of 2.vim2.1.HJKL Mobile Recommended Practice snake
Current Buffer Valid when you define a buffer-local mapping for "," and the global mapping may have a "," prefix, then vim waits for the next character's output to determine which mapping to use, and uses Will avoid this situation, directly using
When we end a day of work, maybe just half of the work is done, for example, we are using VIM to modify an Android problem, we have fixed the problem, we are involved in several classes, if we just shut down the vim, then we have to reopen the next
The main reference is this blog post:http://my.oschina.net/swuly302/blog/156784But the basic knowledge that needs to be added is that the same problem may be encountered for the first vim novice user.After the plug-in is added, you need to configure
Vim+ctags can easily access the Linux kernel source code. Ctags, Cscope, tlist several tools can be shared.First, ctags!. In fact, it is only used to generate a tags file, that is, the source code objects found, and recorded, put into the tags file.
Working in a Linux environment is often inseparable from the Vim editor, regardless of which version of the Os,vim style is installed is rarely configured to your custom, because the default configuration does not have any plugins and settings. As
through putty or SECURECRT connected to the Linux server, the use of VI editing *.php or *.c files, The blue comments are very light, can not see clearly, looks very cost eye effect as follows I am accustomed to the default color, do not want to
Vim Learning the next day1.W: Move backward one word, B: move forward one word, 3w, 3b ....2.$: Moves the cursor to the end of the line, ^: Moves the cursor to the position of the first non-empty character of the line3.FX: Looking backwards for the
First day1. Insert text: Enter I in normal mode, press ESC to return to normal mode when insert is complete2.j,k,l,h: Down, up, right, left3. Delete text: Press X in normal mode to delete the text under the cursor4. Undo: u--Undo Last edit operation,
. vimrc file
We have already learned that the configuration file for vim is VIMRC file and that the VIMRC file is divided into system VIMRC file and user vimrc file . Under normal circumstances, we do not make the system VIMRC file
Create the VIMRC file in the user's home directory, and then add the following:function Headerpython ()Call Setline (1, "#!/usr/bin/env python")Call Append (1, "#-*-Coding:utf8-*-")Normal GNormal ONormal OEndfAutocmd bufnewfile *.py Call
The main thing is to solve the problems of Lua and clang.
Download vim that supports LUA and other extensions.
Solving LUA
Download the Lua53.dll and place it in the same folder as the Gvim.exe.
Solve
Vim editor detailsThe vim editor is an enhanced version of the vi editor. The vim editor is a full-screen mode editor. Vim mode has three modes: edit mode (command mode) input mode end-line mode conversion: Edit --> input I: Before the character of
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