Vim/vi is a very common text editor under Unix/linux, most of the machines have VI, on different machines commonly used in different variants of software which VIM is more useful also used more widely vim is the abbreviation of VI improved,
1. The configuration files in Linux exist in the form of plain ASCII text2, vim text compiler.
General mode: A file opened with VI directly into the general mode, this mode can move the cursor and delete characters, copy and paste, etc.,
Multi-line Comments:CTRL + V enters column edit mode, moves the cursor down or up, marks the beginning of the line that needs comment, then presses the uppercase I, then inserts the comment, such as "#", and then presses ESC, which is all
1 repeating last commandIn normal mode . (decimal point) means the last command operation is repeatedNormal mode input x , delete the first character, the input . (decimal point) will be deleted again a character, in addition to also can be repeated
Http://www.linuxidc.com/Linux/2012-12/75684.htmVundle (Vim bundle) is a vim plug-in manager.Its github address is: Https://github.com/gmarik/vundleHow to use Vundle (personal use environment for Ubuntu 12.10)1. Download Vundle from GitHub to Local:$
About VIMVim has the following modes:1) Normal mode, the default editing mode, the following if no special instructions, the mentioned commands are directly in normal mode input, any other mode can be on the keyboard Esc key back to normal mode.2)
The VI editor has 3 modes: Command mode, input mode, and last line mode. It is important to master these three models:Command mode: VI starts after the default entry is the command mode, any mode, press the [ESC] key can return to the command mode.
It is found that if we use the VIM software to search for a string inside a file, the string will be anti-white, and the next time we again with vim to edit the file, the search string anti-white situation still exists! Even when editing other files,
Vim Editor1. Basic mode:Edit mode, Command modeInput mode;Last-line mode;2. Open file, convert between modes#vim [OPTION] ... FILE ...+#: After opening the file, just leave the cursor at the beginning of line #-/pattern: After opening the file, the
The decision to discard the mouse starts, so be prepared to use VIM.So how to build Golang environment in VIM?With Git in vogue, it's so easy to build a vim environment.And when Vim is built, it's basically no different from the IDE.Highlighting,
In the company, most of the people are remote Connection control server, the following to solve a novice use Xshell when the problem occursSome people use Xshell telnet to the Linux server, and then under the VI Editor to edit things appear by
On the git:https://github.com/bling/vim-airline/tree/master/autoload/airline/themes, there are built-in themes that can be used directly, The method is written in. VIMRC: Let G:airline_theme= "Badwolf", or play in Vim: Airlinetheme Badwolf can be
VI(VIM) is a very common editor on Linux, and many Linux distributions have VI (VIM) installed by default. VI (VIM) commands are numerous but if used flexibly it will greatly improve efficiency. VI is the abbreviation for "Visual Interface", Vim is
Http://www.cnblogs.com/fakis/archive/2011/04/14/2016213.html1. Folding ModeAvailable options to set the folding method:Set fdm=xxx in the Vim configuration fileYou can call the VIM command directly in the file using comments */* Vim:set fdm=xxx:
Tonight with the Ubuntu 12.04 vim to edit the page code, found that the above Chinese display garbled. This HTML file is I previously edited with Gedit, in gedit inside display normal, but in vim under the display is garbled.How to solve the problem
1. Copy the/etc/grub.conf configuration file to the/tmp directory and use the Find replacement command to delete the white space character at the beginning of the/etc/grub.conf file
12
[[email protected] tmp] #
From the Unix Beginner's Tutorial (fourth edition).Command mode switch to text input mode:
Key
Function
I
Enter text to the left of the cursor
I
Enter text at the beginning of the current
Everyone crossing, welcome to listen to the large-scale couplet science fiction: Vim. Last time we introduced the Nerdtree in vim.Plug - ins.. This time, we no longer introduce the new vim plugin. But we're going to do a Zhanghuizhong of the Vim
Everyone crossing, welcome to listen to the large-scale couplet science fiction: Vim. Last time we talked about the Dragon Slayer Knife: Vim ChaseLife. This time, let's go on with Vim's Blade: the Sword of vim. Well, that's the word, the
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