By: Wu Yindate:2007-09-07version:0.5Email:lazy.fox.wu#gmail.comHomepage:Http://blog.csdn.net/wooinCopyright: The article is copyrighted by Wu Yin and his lovely wife, Little bun. may be transmitted and reproduced at will without any commercial
Some people complain that the Linux system does not resemble VC and other convenient and quick editor, someone with Gedit, some use vim, but are not convenient and there is no automatic completion of the user-friendly functions such as the user.
Using VIM on CentOS can not be used, error does not have the commandCentos-bash:vim:command not foundSo how to install vim?-------------------------------------------------------------------------------------------------------Enter the Rpm-qa|grep
Vi/vim Use advanced: Use GDB debugging in Vim – use VimgdbThe help entry for the commands used in this section:In the original design of Unix system, there is a very important idea: each program only to achieve a single function, through the
Failure phenomena:Use Vim to modify the file error, the system prompts the following:E37:no write since last change (add! To override)Cause of failure:The file is a read-only file and cannot be modified.Workaround:Use the command: w! to force the
1. Youcompleteme is a powerful vim plug-in, it can realize the automatic completion of the code, jump to the definition and other functions, and support Java, Python, go, c family and many other languages. Website:
Original works, permitted to reprint, please be sure to use hyperlinks in the form of the article, author information and this statement, or will be held liable. As we all know, Vim is an enhanced version of VI, the actual experience is much better
1. SecureCRT The syntax highlighting when using VIM in SECURECRT is not a function of SECURECRT, but a vim setting: Options->session options, Terminal Emulation in terminal select ANSI or Linux or xterm, you must hook up with the ANSI colour
1. Open Terminal2. Enter the following command to enter the VIM editor:Vim A.C3. Enter the editor and press I to enter insert mode, and then type the following code:#include int main () {printf ("\nhelloworld!\n\n"); return 0 ;} 4. Press ESC to
Failure: When using vim to edit the Nginx configuration file, there has been a SWP file already exists:When you use Vim to edit a file, a SWP file is generated. Filename.swpThe file will be deleted automatically at the end of the normal edit exit.If
vim,http://linux.21ds.net/2002/03/13/0268dc26fd9c725c23dae68d797935f3/ Author: Bram MoolenaarTranslation: Slimzhao The creator of the open source free software-vim In this article describes the development of vim in the insider and the direction of
vim +ctags + taglist ,ctags+cscope installation configuration and use content: The installation and configuration method of Ctags and TagList under Vim, the method of installing ctags and cscope with one click, vim syntax highlighting, auto indent,
http://blog.csdn.net/pipisorry/article/details/395084171. Replace VI with VIMVim is more powerful than VI, Vim is a superset of VI, and can solve many of the problems of habit, so it is necessary to use Vim to replace VI. Simply speaking, you can
Why use Vim to edit py files?Because in the Linux command line, the lack of graphical interface Ide,vim is the best text editor, and in order to better edit the py text, so configure Vim.1. Install the full version of VimWhat is the difference
Why use Vim to edit py files?Because in the Linux command line, the lack of graphical interface Ide,vim is the best text editor, and in order to better edit the py text, so configure Vim.1. Install the full version of VimWhat is the difference
Linux can ping IP but cannot ping host domain name resolution reprinted December 25, 2013 10:24:27 13749.vi/etc/nsswitch.confhosts:files Dnsnetworks:files changed to: hos Ts:files DNS Winsnetworks:files if not the same, in the hosts: the original
The taglist is based on the tags file and requires the ctags to generate the tags file.
Run Yum install ctags for Redhat and centos, and run apt-Get install ctags for Debian and ubantu.
Download taglist at http://sourceforge.net/projects/vim-taglist/
Successful Transformation of VIM to powerful ide Series 3
"Plugin Introduction 』
Onmicppcompete function:
Namespace, class, struct, Union
Function attribute member and return value type completion
"This" pointer member completion
C/C ++ cast
In Windows, many people use source insight to write and view code. Vim can be used in Linux. At the beginning, VIM is considered as a notepad in windows. If it is used properly, it is not inferior to source insight.
Here, I will do my best to
Today, when studying the autocmd command of vim, we can see the final result of ": help auto". The help document provides an example: the current date and time are automatically inserted when a *. html file is written. As follows:
Code highlighting
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.