Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

There are a couple of plugins that add signs (see :h sign) marking syntax errors in various files. In particular, the Vim-Latex-Suite adds syntax error signs in latex files, and the Drupal Vim plugin adds them in PHP files:

Vim signs

Is there any way to jump to these signs? I've read the docs, and I can't see anything, and :cnext etc. don't work, because signs aren't errors. Not being able to jump can be quite annoying, as it means you have to scroll through the whole document looking for the red arrows on the left column...

share|improve this question
up vote 1 down vote accepted

Depends on which plugins you're using. (Which you supplied later...)

The Syntastic plugin provides signs with links in the location list.

Try using 'll/ln/lp' to see & move through the location list of the error signs

share|improve this answer
The scripts I have installed are: calendar NrrwRgn snipmate.vim tagbar VimOrganizer VOoM CSApprox drupal nerdtree screen syntastic vim-latex Vim-R-plugin. I don't think any of these other than the drupal and Vim-latex plugins are likely to affect this though. Perhaps there's some intermediate functionality of vim that these plugins use that uses signs? – naught101 Jun 24 '12 at 6:19
Hey, I just tried :ll, and it works! Hadn't heard of the location list before. Maybe you wann re-jig your answer, and I'll accept it? – naught101 Jun 24 '12 at 6:21
Ha! From the Syntastic plugin: Errors are loaded into the location list for the corresponding window. Taa Daa!! – lornix Jun 24 '12 at 6:28
ok, ok, thanks for doing the research :D – naught101 Jun 24 '12 at 6:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .