-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to bind the cursorline to the current item in quickfix list like in the videos #23
Comments
Hi! about cursorline, I have this in if exists('b:current_syntax')
finish
endif
setlocal cursorline
setlocal cursorlineopt=line
let b:current_syntax = 'qf' If you have |
Hi! Thank you for responding. Let me check if it works. |
@serranomorante apparantly it does not work as it was in the videos with the options you provided. I read the help file for the options which you suggested and I think it changes how cursorline highlighting works ig. But I dont think it will bind the cursor to the current quickfix item afaik. |
The snippet I provided will add a highlight to your cursor as you navigate (to better identify the highlighted row), but it don't actually selects any quickfix item. You mean moving the cursor should also change the selected buffer (outside the quickfix list) live? qf-cursorline-2024-09-08_19.11.26.webm |
No I meant moving the cursor should change the selected item in the quickfix list along with it as shown in the video |
In the video I was actually using my old quickfix plugin for having the cursor follow along. That plugin was a little janky, not very featureful, and is deprecated now. For a while quicker.nvim did not have the feature to scroll the quickfix window to the closest item, but I have just added it! Set As for the indentation, I've also recently provided some more configuration via the |
Hi stevearc!! Thank you for this amazing plugin. I was trying it out and found few things out which I wanted to clarify about:-
The text was updated successfully, but these errors were encountered: