Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

vim :make automatically jumps to first file with error

Tags:

vim

When executing :make from vim, after make is complete it automatically jumps to a file with errors. Is there a way to avoid this

EDIT

This is usecase i want to achieve I want :make to execute then quicklist to open but the current file which i am working on should not be switched to the one with errors

with default settings after :make execution quicklist opens and the current file also changes

like image 528
Yogesh Arora Avatar asked Mar 12 '10 21:03

Yogesh Arora


Video Answer


1 Answers

From the docs:

    7. If [!] is not given the first error is jumped to.

So, just invoke it as :make!.

like image 157
Cascabel Avatar answered Oct 19 '22 14:10

Cascabel