We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi there,
I was wondering if by any chance there is some kind of support to integrate Vim or gVim with the uVision3 IDE. You can do it with VS using the VisVim DLL, but I wonder if this could somehow be reused for uVision3?
Any insight appreciated!
Thanks in advance,
Carles
What is/are gVim/Vim?
What "support", exactly, do you require?
What level of "integration"?
It's a version of VI.
But it is normally easier to get a good IDE and/or editor and then integrate a compiler with that IDE/editor.
Thanks for your reply.
As you explain, vim and gVim are version of the VI classic UNIX editor. There is a plugin DLL for Visual Studio that allows to replace the default VS editor with gVim (the graphical version of VI) and therefore use it to edit all text within the IDE. My question was whether the uVision3 IDE allows such plugins and further whether one exists. As mentioned before the goal here is to use VI *within* uVision3 without having to leave the IDE at all. Another possibility for anyone wanting to edit their code with VI would be not to use the IDE at all and use a command-line tool to compile after editing. I assume this is possible (although I am new to uVision3 and therefore lack the knowledge to work this way for now) and it may indeed be the only solution for me if I want to edit my files using VI and compile with uVision3's compilers.
Could you point me to a documentation page that describes how to integrate the KEIL compiler in uVision3 with an external IDE/Editor using command-line tools?
Thank you in advance!
"how to integrate the KEIL compiler ... with an external IDE/Editor using command-line tools?"
Note that the Keil Compiler (and Linker, etc) is not "in" uVision - they are entirely separate, command-line tools.
The respective tool manuals document the command-line interface.
So what you really need is the Vim documentation which describes how to integrate any arbitrary command-line tool into Vim...
AFAIK, it does not.
"Another possibility for anyone wanting to edit their code with VI would be not to use the IDE at all and use a command-line tool to compile after editing"
Yes, of course. (that's what Erik does)
You could also use Vim for your editing, and uVision just as a build/debug tool...
BTW: you do realise that uVision-3 has now been superseded by uVision-4 - don't you...?
This shows you how to call uv4 from the command line to build a project.
http://www.keil.com/support/man/docs/uv4/uv4_commandline.htm
>You could also use Vim for your editing, and uVision >just as a build/debug tool...
Yes, but that would require me to have uVision open, and I wanted to avoid the IDE side of things as much as possible. It's still an option though.
>BTW: you do realise that uVision-3 has now been >superseded by uVision-4 - don't you...?
I do realise that and in fact I have just installed uVision-4 in my computer. From your later response I assume this doesn't add integration for external editors, but I will be using uVision-4's compilers.
Thanks!
>So what you really need is the Vim documentation which >describes how to integrate any arbitrary command-line >tool into Vim...
Yep, I can manage that by myself, I was just wondering about the actual command-line interface to invoke :)
Thanks,
>This shows you how to call uv4 from the command line to build a project.
>http://www.keil.com/support/man/docs/uv4/uv4_commandline.htm
That's great, thanks very much.
Of course all of that is documented in the manual.
http://www.keil.com/support/man/docs/c51/c51_cm_cmdprompt.htm
Thanks, saw that. I will be invoking uv4 from the command line though, since we use it for project management as well, we don't use an external make tool.