Open wsdjeg opened 5 years ago
use Emacs Doom and you can do all what vim can do plus extra ..
I am using YCM plugin for vim currently. And it's very powerful. But I am interesting in this project.
Hi,
Can you customize the command run when doing SPC l r, and if yes, how ? Not all projects compile just with the default g++ command line…
And second question : is there a way to get the compile log into quickfix window ? So that, if compilation makes an error, I can quick jump to the line causing the error…
In current version, no, you can not change the runnr command, but this feature will be implement in the future. if you want to use quickfix to save the error message, I think you can checkout the checkers layer, it use neomake by default.
[SPC] l r does not seem to work I get key binding not defined
@MrG2333 make sure the lang#c
layer has been loaded.
ff
[REPL executable] 'igcc'
executing job failed: No such file or directory
@404-not-find you need to install igcc, this is a repl command for c++ language.
I typed SPC l r nothing happened! Space vim told me this is undefined key binding
@shenlin-tomtom, I think you do not load the lang#c
layer, this key binding is definded in lang#c
layer.
When I try to compile and run, I got the following error:
[Compile] ['gcc', '-o', '/tmp/vmb5B8N/1', '-std=c11', '-xc', '-', 'STDIN']
[Running] /tmp/vmb5B8N/1
https://spacevim.org/use-vim-as-a-c-cpp-ide/