Use Vim like an IDEcreated 2006 · complexity intermediate · author Matt Zyzik · version 6.0 I use Vim for all text editing, even software development. At one point I stopped using IDEs. One major reason is that Vim can do all the major things I need from IDEs (tabs, file trees, greping, syntax highlighting, indentation, completion, "quickfix"ing, etc). Vim PluginsEditStill Vim needs plugins to do some IDE-like things that aren't built in. Here are some Vim scripts that make Vim more like an IDE. Note: You can use pathogen to isolate your plugins and make it easier to experiment with new plugins. Project/Filetree BrowsingEdit
Buffer/File BrowsingEdit
Code BrowsingEdit
See also Browsing programs with tags and Cscope. Writing CodeEdit
See also Omni completion and Make Vim completion popup menu work just like in an IDE. Vim FunctionalityEdit
IDE integrationEditYou may want to use your IDE for some tasks like debugging, so some integration between Vim and the IDE can be helpful.
Source Control IntegrationEditThere are many Vim plugins for different source control management systems. Here are a few.
See also Category:VersionControl DebuggingEditThere are several projects to add debugging functionality to vim
RefactoringEditCommentsEditWhen using Visual Studio, see ViEmu. Code navigation in vi offers much more than a standard IDE, because of the ability to execute the desired combination of commands. Generate an index much more rapidly than an IDE with a heavy GUI interface: For example, one can take advantage of the tag stack: For C++, follow the instructions: on using OmniCpp Define a custom .ctags file
From a console (the exclude options may vary) generate the tags file as follows: ctags --exclude=.svn --exclude=target -R . |
|