• 0

Vim make, debug, compile / Window focus


Question

Hi,

I decided to start using vim as my main editor, however I came across some annoying stuff. I installed a couple of scripts and I no longer start with the main vim window selected, is there a way to fix this ? I appended [ autocmd VimEnter * wincmd p ] to the end of the configuration file but it does not seem to work.

One more question is it possible to add an automake to vim and consequently compile it?

I don't want to compile libraries gcc lib.c -c and then attach the lib binary code to the main file gcc main.c -o main lib.o manually has it would take forever.

If there is no such thing can you point me some other software that does this, debugging breakpoints etc, generate makefile and build ?

GNU make, gdb, gcc, do this right? Are there others? How can I learn quickly how to work with them ?

Vim is so much more powerful than must paid editors out there. Just see this

.

Thanks.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

This topic is now closed to further replies.