Can not exit source .bashrc after opening it with vim (vim recording)

Hi there! I was attempting to use source .bashrc, but I can’t get out of the bash script.

You can click on the x mark, unique to each shell to close it or alternatively look up this link What is Vim recording and how can it be disabled? - Stack Overflow, which talked about the problem you are having. You have some somehow enabled recording, which records all that you type.

You start recording by q and you can end it by typing q again. Recording is a really useful feature of Vim. It records everything you type. You can then replay it simply by typing @ .
Let me know if this helped.

2 Likes