Pathogen
function Description
A plug-in package often has a variety of functions, each file according to the path of vim will be placed in a different directory, the common plug-ins put into the plugin, syntax highlighting plug-ins placed under
Install the plugin management tool first pathogenCreate a directory ~/.vim/bundle/pathogen/autoload/
Download Pathogen.vim (Https://github.com/tpope/vim-pathogen) to ~/.vim/bundle/pathogen/autoload/
Add the following two lines to the. vimrc
Runtime
No more nonsense. Directly above:
Operation Process:
1. Use command: Cd/etc/vim Enter configuration directory
2.sudo Vim VIMRC
3. The following lines are set according to your preference
-------------------------------------------------------------
Tag: page combination also writes pen question name displays line number moved multiple timesThe previous mention of Vim, which is a necessary tool in Linux. No amount of work can be done without it. Early UNIX was used as the system default editor
First, the editing modeCommand-line modeWhen replacedIf there is a/symbol in the character you want to replace, you can change the delimiter to # or @:1,100s#/good/weer/#well#gReplace the/good/weer/in the first 100 rows with the well,: Nohl
Vim the mode and transformation relationship 1 is shown. A simple introduction to command patterns and common commands for extended mode. 650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M02/9D/C4/wKioL1mFjIHAnfyFAAC6xpPfTZI075.png "title=" a.
1. As a rigorous programmer, you have to care about the characters you've knocked on. These include whitespace characters.2. Sometimes you need to review someone else's code, for those who wantonly use Tab,space,enter. How do you find the messy
q:quitw:writeq! : Forced exit
Useful function o: Insert one row below the current line O: The previous line of the current cursor inserts a line home: Beginning end: Line end I: Into insert mode ESC: Back to command mode command-line mode: G
1. Open multiple WindowsCommands to open multiple windows: Horizontal cutting window: new+ window name (after saving is file name) :split+ window name, or abbreviated as: sp+ window name portrait cutting window Name: vsplit+ window name, also can
Vim is a very useful text editor in Unix system, compared with the traditional VI, the biggest difference is that it supports the color scheme, this feature makes it possible to edit some configuration files or write code in the time greatly improve
Software vim requiredhttp://www.vim.orgCode_complete.vim Plug-inhttp://www.vim.org/scripts/script.php?script_id=1764Ctags generally installed after vim will have, Ubuntu seems to be not supported, need to download. A VIM configuration reproduced
The words of the operating system, programming language and editor seem to be the eternal topic of the programmer's spat, and the technology has developed over the decades, and we have been discussing these "battles" with anger and relish. Someone
Before the development of NS3, the first thing we need is the editor, in addition to the original VI, VIM as the enhanced version of VI, is the first choice, the second can consider gedit. This article has selected vim.In the higher version of
Back up a bit more handy configuration fileSet sw=4Set ts=4Set ETSet SmarttabSet SmartindentSet LBRSet FO+=MBSet SMSet selection=inclusiveSet WildmenuSet Mousemodel=popupAu FileType php setlocal dict+=~/.vim/dict/php_funclist.dictAu FileType css
The multi-line comments and multi-line Delete commands in Vim, which are also frequently used tips, can greatly improve productivity. 1. Multi-line Comment: 1. First press ESC to enter command line mode, press CTRL + V to enter the column (also
Original URL: http://www.cnblogs.com/zhongcq/p/3630047.htmlUsing Vim to write a program without the use of auto-completion plug-ins, there is no similar to the Linux vs visual Assist X such a quick and easy to complete plug-ins? Used to be
~Pull long time, eventually make almost the same, and sure enough the program ape still need a little toss spirit ah.First you want to install VIM, command: sudo apt-get install vimVim It's just an editor, it's not an IDE (for example, Codeblocks).
During file Editing Using vim, remote login to the server fails due to network disconnection. After the network connection is restored, log on to the server again. VI opens the file and sends an alarm. The following message is displayed:
E325:
Vim, as one of the best text editors, uses Vim to compile documents and writeCodeIt's really pleasant. Every time you learn a new feature of VIM, it will greatly improve productivity. Some people have been using Vim for decades and have not fully
Vim Introduction
As one of the most important editors in the open-source world (Emacs), VIM is favored by many developers with its powerful functions and customization capabilities. However, it may be because Vim is so powerful that it is not easy
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