Vim is configured as ide for php and c developers.

Source: Internet
Author: User
Vim is configured as ide. it is mainly used for php and c developers to configure vim to ide. it is mainly used for php and c developers to provide file directories, automatic completion and prompts, and new file default annotations.

Target
Let VIM have IDE effect 1. directory tree 2. open the file tag. 3. function and class member View (outline function of Eclipse) 4. function jump 5. auto-completion 6. search and replace

If it cannot be loaded, please refer to the pictures on my blog

Installation version requirements
Run Vim74Install. sh to check the vim version vim -- version.
Installation steps
git clone https://github.com/wming3/.vimToIDE.git  ~/.vimcd ~/.vimsh Install.sh
Add a plug-in
cd ~/.vimgit submodule add https://github.com/scrooloose/nerdcommenter.git bundle/nerdcommenter
Delete the Vim plugin and run the following command:
1. git rm-r -- cache bundle/nerdcommenter 2.rm-rf bundle/nerdcommenter 3. Modify. gitmodules and delete related nodes
Default configuration
 
  
= ,:
  
   
Use this replacement character
   
    
: Close the current buff
    
     
: Open the next buff
     
      
: Open the previous buff.
      
        : Control relative row number/absolute row number
       
         : File Time Machine function
       
      
     
    
   
  
 
Conque-Shell
Open the Terminal plug-in Vim: ConqueTerm bash open Terminal: conquetermsp.pdf separate window to open the Terminal
OmniCppComplete
C/C ++ code auto-completion enhancement plug-in
Checksyntax_vim
Syntax check plug-in F5 enable check (automatically checks after saving files)
Cscope
Syntax tag generation. the code reading plug-in F6 generates the syntax tag of the current directory (only tracking. php. phtml. java. c. cpp. h) file.
 
  
Jump definition
  
   
Jump to the previous step
   
    
G: Search for function definitions
    
     
D: Search for function calls.
     
      
S: find all occurrences
      
        C: query call records
      
     
    
   
  
 
Easygrep
Keyword search plug-in
 
  
Vv search keywords
 
File-line fuzzyfinder
File search plug-in (wildcard characters supported) F4 enabled
Nerdcommenter
Used to add comments to codes
 
  
Add Comment for cc
  
   
Cu uncomment
   
    
C
    
     
Add/cancel comments
     
      
Cm section comment
      
        Cs beautiful comments
      
     
    
   
  
 
Nerdtree
? Open help B show/close bookmarks D delete bookmarks F5 create tags for the current directory R update current directory t Open current file F1 in new tags help F2 open file directory tree F3 Open file tags, function class member View
SnipMate
Code block generation for/foreach/class/func + tab :~ /. Vim/snippets/*. snippets
Solarized
Default Template built-in management plug-in
Space supertab
Code automatic reminder plug-in
Tabular
Text alignment plugin: Tab/= align by equal sign
Tagbar
Tag Reading plug-in (compatible with object-oriented languages) F3 Display/close
Vcscommand
Version control plug-in (Git and Svn supported): VCSAdd adds files to the source: VCSAnnotate displays the submitter: VCSCommit submits changes to the current file before each line of code: VCSDelete deletes the current file in the source: VCSLog displays historical file changes: VCSRevert rolls back the current file to the latest historical version in the source: VCSReview view a specific version of the current file: VCSStatus view the version of the current file: VCSUnlock unlocks the current file: VCSUpdate updates the current file to the source version: VCSVimDiff to view the difference between the current file and the historical version
Vim-powerline vim-l9
Status bar enhancement plug-in

Blog: http://blog.csdn.net/u010187139/article/details/50015339

Reference address: http://wiki.baidu.com/pages/viewpage.action? PageId = 137577394

Project homepage:Http://www.open-open.com/lib/view/home/1448628661267

Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.