Highlight Label *tag-highlight*
If you want to highlight all the tags in the file, you can use the following mappings.
--Generate the Tags.vim file and highlight the label.
--Highlight tags only based on existing tags.vim
The solution of the garbled problem of vim under Windows
Vim default encoding is GB2312, no utf-8 to choose for us, so we have to configure ourselves:
The specific configuration is as follows:
Open the VIM installation directory under the _VIMRC,
I've recently been using Ubuntu11.04 to learn Unix before, but Ubuntu11.04 X window does not perform well under VMware7.1.4. It doesn't matter, first put the basis of the command line to say.Ubuntu VI is also not good to use, a vim used to learn, a
The code naturally without the text editor vim, automatic indentation is tab, even if you delete the tab changed to 4 spaces, the next level indent will continue to use tabs, which caused the Space and tab mix
Information that can be modified,
There are several modes of vim, such as normal (normal mode), insert (insert mode), command line Mode, visual (visual mode). The same commands and shortcut keys function differently in different modes, so help information is also sub-modal.Give me a
Http://coolshell.cn/articles/5426.htmlThe learning curve of Vim is quite large (see the learning curve of various text editors), so if you start to see a bunch of Vim's command classifications, you're bound to lose interest in the editor. The
1, set the location of the fileUnder directory/etc/vim, there is a file named VIMRC, which is the public vim settings file in the system and is valid for all users. In each user's home directory, you can create your own private settings file, named:
Save the file and exitIt's a shame to say it, and I've learned this order recently.??And the following command is equivalent:: Wqis to save the current file and exit.(Translator Note: These two commands are actually not exactly equivalent when the
Go from blog http://qianjigui.javaeye.com/blog/368449Needless to say, in the vim of the expression has been very widely used. In the most commonly used/and: s commands, regular expressions are essential. The following is a description of some of the
Vim Editor Usage rules
The Vi Editor has 3 usage modes: General mode, edit mode, and command mode.
$SHELL: View the current default SHELL type
$BASH _version: View the current Shell version3. General Mode:
Cursor
1) Cursor commandK,j,h,l---up and down around the cursor Movement command, although you can use the keyboard to the right of the four cursor keys, but remember that these four commands are also very useful, that is, the right hand on the keyboard
1. Use of VIVI min Three modes:
General mode
This mode allows you to Delete, copy, paste, and search for replacements , but you cannot edit the content.
Edit mode
Press the ESC key to exit this mode by entering any one of
King-cdqTime: 16/08/19Original articles, reproduced please specify the source (the author and the original link).For special purposes, please contact me email:[email protected]
I have heard of Kali's name, integration of a variety of
When was the last time you used the CAPSLOCK key? It's been a long time, right? Oh, me too, it has been forgotten, it wasted a golden position on the keyboard. Let's re-map it to the Control key to play its part! This tells you how to do it on
Vim in the SWP that Swap file, which is generated when editing a file, it is a hidden file, if the original file name is Data , then SWP file name is . DATA.SWP . If the file exits normally, the file is automatically deleted. The following two
As a non-professional operations personnel, miserable for the forgotten operation and regret, hence reproduced!From:http://www.21andy.com/blog/20100413/1859.htmlVim notes Multi-line simplification instructionsThe following comment 3 line operation
Environment configuration"If you think Vim is just a text editor, you Lose"--from the VIM veteranVIM provides a rich set of configuration features in a concise manner, and the main configuration system consists of a file and a folder. On a
Reproduced this site article please indicate the author and source Cool shell –coolshell.cnThe learning curve of Vim is quite large (see the learning curve of various text editors), so if you start to see a bunch of Vim's command classifications,
This record vim how this text editor is used and how it is used. Basic ConceptsIn the Linux environment, the configuration file is very important for the whole system, and it is all in ASCII plain text, and the text editor can be used to make 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