Tanguy Lissenko
Tanguy Lissenko

Reputation: 19

vim - how to NOT automatically switch buffer with :cn and :cb

I use the quickfix list to store errors. But i hate when it automatically jump to different buffers when pressing :cn or :cb. I want to press Enter myself to jump to location. Is there any solution ? Thx.

Upvotes: 1

Views: 153

Answers (1)

romainl
romainl

Reputation: 196789

The whole purpose of :cnext is precisely to jump to the next entry in the quickfix list. If that's not what you want, then don't use it.

Navigating to the next line in the quickfix window is done with <Down> or j.

Upvotes: 2

Related Questions