Skip to content

PracticalVim Tip104

Shuai YUAN edited this page May 29, 2015 · 1 revision

Tip 104: Compile Code Without Leaving Vim

Return to the top: <>

References:

Don't Lose the Place

When we run the `:make` command, Vim automatically jumps to the first error (unless there are none). If we prefer that our cursor remain where it is, we can instead run this:

The trailing `!` character tells Vim to update the quickfix list without jumping to the first item.

Table of Contents


Clone this wiki locally