What is powerline
If you're not searching through a search engine for this article, you may not have heard of powerline. And you happen to be a *unix party, or vim party, so strongly suggest you understand and use powerline. Powerline
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
-------------------------------------------------------------
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
Ubuntu vim to install itInstallation and basic usage 1. Log in to Ubuntu with the root account, enter vim on the command line, and get the following hint if not installed: The program "Vim" is included in the following packages: * VIM * vim-gnome *
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
One, string lookup 1. Using/And in Vim to find a string, the difference is that /string highlights the first string that matches the cursor after the carriage return, and the cursor moves to the first letter of the string; ? string highlights the
1 Add source $VIMRUNTIME/mswin.vim in the/USR/SHARE/VIM/VIMRC file2 Mswin.vim position under/usr/share/vim/vim72/directory3 below is the directory of the Mswin.vim file, which can be created without this file"Set options and add mapping such that
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
Mac, vi and VIM is God-like editor, how to delete multiple lines, at the beginning, very confused.The following is an example of editing the host fileFirst, in terminal, enter vim/etc/hosts and press RETURN.Enter the default mode of VIM.Vim has
Original URL: http://www.cnblogs.com/jostree/p/4137402.htmlJostree Reprint Please specify the source http://www.cnblogs.com/jostree/p/4137402.html1. You need to ensure that the version of Vim is greater than 7.3.584, otherwise you need to update
Vim is a powerful text editor. A good configuration facilitates the use of vim. Sometimes, we use VIM on several different computers. For example, we may have vim installed on both our own computers and our company's computers. Sometimes, we need to
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
1. To install VIM, you can install it using the Apt-get tool that comes with Ubuntu.Apt-get Install Vim-gnome2, after the installation is successful, configure1> first automatic hint completion configuration (pydiction)From the official download
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
Download and install Python.
Download Vim from the vim website.Self-installing executable.
Edit the vim configuration file _ vimrc
Copy the stuff in vimrc_example to _ vimrc
Remove source $ VIMRUNTIME/vimrc_example.vim from _ vimrc.
Set Chinese
Vi and vim Editor (7): ex editor Overview (2)
Next, I wrote an article to learn about the ex editor.
Change the buffer Name:You can use ": w new_file_name" to save the current editing buffer as a new file. In this way, the current editing result can
Linux vim commands and linux vim commands
A detailed introduction of vim commands in linux.
Some advanced editors will contain macro functions, which are certainly not missing in vim. It is very convenient to use Macros in vim:
: Qx starts to record
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.