Open nikhilreddydev opened 2 years ago
Which shell?
Running Ubuntu on wsl2, Zsh with no frameworks.
When you would normally run CompileAndRun, first run :echo expand('%')
. That should print out your filename. If you don't see anything at the bottom, this is the problem. You need to have the file saved on disk (although it seems to be in your image, correct me if I'm wrong).
It's expanding the filename @mizlan tho.
I think it's the problem with "&&"(conditional execution). g++ is assuming it as a filename (atleast acc to error in new term window)
@mizlan I am also curious to know how that pressing any key to close terminal buffer is working.
I see no mappings in cp.vim file for that. Is that your custom mapping? If so, please tell me how that works.
No. That's default behavior, if you see [finished]
in the buffer name.
Command passed to the terminal via termwrapper is also assuming '&&' to be a file or directory. @mizlan @ironsoul0