I am using Ubuntu 13.04 and have been programming mostly in C++. I use vim editor and c++ command to compile my .cpp file. What I have noticed is after typing c++ and pressing the Tab key, an autocomplete was expected for the files present in the current directory, but it gives no result. It was fine before, and I have become used to the c++ command for compiling my files.

Please help.

1 Answer 1


Try adding this to your .bashrc:

complete -f c++

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.