Search the current buffer for completions