1 Ctags Introduction Ctags generates a markup file to help locate an object in the source file.2 its generated tag file tags include a list of these objects:Macros defined with # defineThe value of the enumeration type variableDefinitions,
1. PrefaceI began to touch vim from Ubuntu, under window began to understand the configuration of the Gvim plug-in, but under window there is a problem is to build vim itself is very difficult (I am not enough, the YCM plugin under Windows has never
Introduction to the commonly used text editor in 1.Linux system • Command line Vi/vim: A built-in editor commonly used in Unix-like operating systems, it is a powerful feature after operation. Pico or nano: A text editor with an edit style that is
The configuration file for vim in Ubuntu is stored in the/etc/vim directory with the configuration file named VIMRCThe configuration file for vim in Fedora is stored in the/etc directory, and the configuration file named VIMRC. Vim in red Hat Linux
Set the font color for the terminal, open the terminal then, select Preferences, then select the profile, then the left side of the window can choose the system configuration, or you can customize, and finally don't forget to set your configuration
Command historyCommands with: and/begin with a history, you can first type: or/Then press the up and down arrows to select a history command.Start vimEnter the following command in the Command line windowVim starts vim directlyVim filename opens vim
1. Installing MacvimHttps://github.com/macvim-dev/macvim/releases2. After installing YCM, re-open vim will also appear the following error message: Ycm_client_support. [So|pyd|dll] and Ycm_core. [So|pyd|dll] not detected; You need to compile YCM
In Linux, the main editor is VI or VIM, this article around vim to do a simple explanation:The Linux default comes with the VI (VIM) editor, and its packages are:[email protected] ~]# RPM-QF 'which vi ' vim-minimal-7.2. 411-1.8 . el6.x86_64
Vim EditorText editor, word processor ASCIIFull screen editor, modal editorVim modeEdit mode (Command mode)Input modeLast-line modeMode Conversion:Edit-InputI: Convert to input mode in front of all characters in the current cursorA: After all the
This article describes the basic use of VI (VIM), but for the average user is basically enough! I/vim the difference is simple, they are multi-mode editor, the difference is that Vim is the upgrade version of VI, it is not only compatible with all
1. Select the modeThis mode must be entered through the visual mode. In the visual mode, we to use our visual selection as a block of action in select mode.When we enter the visible characters, we will overwrite the block.For exampleAAA BBB CCCThen
Insert modei ==== = = = ExitInsert modeCursor movementH,j,k,l =←,↓,↑,→ctrl+f =next page (forward) Ctrl+b =Prev (backward) W=jumps to the beginning of the next word w=jumps to the beginning of the next word (blank delimited) e=jumps to the end of the
Delete blank lines in a file:g/^$/d
g = Global, full file
^ is line start, $ is line end
D means to delete the
This can only be matched to a blank line without a white space character, if you want to delete a blank line with whitespace,
We all find that when writing code, sometimes it is possible to have more information for the variable name, and the name may be longer,To use the variable name again, I find it seems to be unable to remember the previous VC 6.0, you can use aTool,
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
"Vim Compiler"The VIM compiler is the text compiler that comes with the Linux system, and the personal view is very useful. The ability to skillfully use vim can greatly improve the efficiency of their own, can be more convenient.Vim's working
1. What is the difference between VI and VIM, and what is the relationship between them?Vim is a text editor developed from VI and can be viewed as an upgraded version of VI. Vim's main function is completely compatible with the original VI, unlike
[1][email protected]:~$[email protected]: User name @ computer name ~: Home directory $: prompt [2] open terminal ctrl+shift+n: Open as current directory ctrl+alt+t: Open terminal default home directory [3] ls browse directory
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.