begriffs / haskell-vim-now

One-line Haskell Vim install
MIT License
988 stars 100 forks source link

How do I cycle through my compiler errors, after doing a ",hc"? #268

Open capn-freako opened 7 years ago

capn-freako commented 7 years ago

Thanks!

begriffs commented 7 years ago

That little window that lists the files is called the "quickfix window." The vim docs suggest you can do :cn. Let me know if that works.

capn-freako commented 7 years ago

Thanks, Joe. I get:

E42: No Errors

If I double click on one of the errors in the quick fix window, then my source code window does scroll to the relevant line. I’d just like to do that, with a key stroke.

Thanks, -db

On Aug 7, 2017, at 1:58 PM, Joe Nelson notifications@github.com wrote:

That little window that lists the files is called the "quickfix window." The vim docs suggest http://vimdoc.sourceforge.net/htmldoc/quickfix.html#quickfix-window you can do :cn. Let me know if that works.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/begriffs/haskell-vim-now/issues/268#issuecomment-320778724, or mute the thread https://github.com/notifications/unsubscribe-auth/AA_7mmrByawPUnOlxDmP86JzCJYG8b6Lks5sV3pugaJpZM4Ov72U.

begriffs commented 7 years ago

Thanks, Joe. I get:

E42: No Errors

Does :lne work rather than :cn ? I'm wondering if it's using the "loclist" rather than the quickfix window.