Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Vim configs (slightly OT)

by jsprat (Curate)
on May 15, 2002 at 22:44 UTC ( #166863=note: print w/replies, xml ) Need Help??

in reply to Vim configs (slightly OT)

To catch my many typos and mismatched brackets (or any other syntax error), I add

set makeprg=$VIMRUNTIME/tools/\ -c\ %\ $* set errorformat=%f:%l:%m

To check the syntax, type :make This lets me use vim's quickfix mode to jump to directly to the next error with :cn or :cp to the previous error, among other things.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://166863]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2016-10-21 10:18 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (288 votes). Check out past polls.