-
-
Notifications
You must be signed in to change notification settings - Fork 2
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 preview :g commands #7
Comments
That's a nice usecase! I have now fixed a few bugs on the main branch (note that visualizing deletions won't work on main now, I'll get to that once I have finished work on the |
Thanks for a quick reply! I tried your suggestion but now I don't get any preview, but maybe that's related to deletions not working as you mentioned since |
Sorry, my earlier fix was a bit too rushed 😄 I have now fixed several bugs related to the handling of ranges, could you try again with the latest commit? Highlights should now also work again and your other issue is hopefully resolved too (not tested though). |
Seems to not have done it unfortunately, I'm getting the original behaviour for both this and #6 now. |
Ok, for this issue, please change |
Ah! Yes this works, thanks ❤️ 🚀 |
I noticed there was pretty bad performance when using your |
Ah that's awesome! |
Can this plugin be used to preview
:g
? For example lets say I have the buffer:and I want to delete any line containing
bar
which could be done with:g/bar/d<CR>
. However if I add the entryG = { cmd = 'g' }
to the config of this plugin. It only previews the command on the current line when I type:G/bar/d
, even though:g
acts on all lines.The text was updated successfully, but these errors were encountered: