I open a terminal window inside of a vim session and leave it there for weeks, use it for compilation, running and debugging my code. After couple of days the length of the terminal buffer grows over many millions of lines, which is not a problem at all. The problematic part is: these millions of lines (junk mostly) are scanned for key words when I use word completion (
^P) in any other buffer.
The question is: is there any way to explicitly exclude terminal buffers from scanning for