I am a newbie in vim. I want to use it as C++ IDE or something like this. I already install these plugins:
But I still cannot use them there is different errors or issues. Also I have a lot of questions how to configure vim to run/build/debug c++ code, for example with cmake, how to make it quick and professional with debug/release configuration separately. Can any sophisticated c++ vim programmers show me what do they use and with which configurations and at which point of their configuration I should pay attention?
Thanks.
I think zir archive with vim would be good to learn this stuff.
Some of the most important IDE's features are:
Emacs has typically tried to accomplish all of these things and more (including running a shell inside Emacs). Vi has typically been more lightweight but has gotten more functionality since the advent of Vim. I have not seriously tried to use Vim for building or debugging -- I find it difficult when I go to new projects that are using different build and debug environments.
However, there are many things that I do to integrate Vim with various IDE's and stay in Vim as much as possible.
See https://stackoverflow.com/a/8897164/1113528 for Tags, Source Control Integration, Clipboard, IDE integration (ability to jump to build errors). I also have a custom search plugin -- I think you would be better off looking for a more standard search vim plugin.
In order to switch between Visual Studio, Eclipse and Vim, I setup external spawning of Vim for Ctrl+Shift+V. To set this up, do the following:
Vim
| Command:C:\Vim\vim73\gvim.exe
| Arguments:--servername ext --remote-silent +$(CurLine) $(ItemPath)
C:\Vim\vim73\gvim.exe
--servername ext --remote-silent ${resource_loc}
Run Last
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With