Skip to content
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

Keep the cursor position after filter out some unwanted lines #120

Open
azter222 opened this issue Jun 25, 2021 · 0 comments
Open

Keep the cursor position after filter out some unwanted lines #120

azter222 opened this issue Jun 25, 2021 · 0 comments

Comments

@azter222
Copy link

azter222 commented Jun 25, 2021

I am lucky to be able to find this nice plugin.
Especially, the function for filter out unwanted line, like

  • :K <wanted string>
  • :Rej <unwanted string>
  • :'<,'>Rej <- filter selected lines

I usually filter and repeatedly use the above 3 method to remove the noise.
And, each filter operation will obtain a qf-window as subset of previous one.
Intuitively, noise should be emitted from the top to down.
Therefore, the top of newer qf-window is no need to check again.
Unfortunately, the cursor position will jump back to first line when filter out noisy.

Is that possible to keep cursor position to nearest top line, if not exist, choose the nearest button line?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant