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

Cycle forward #16

Open
jmsegrev opened this issue Jul 6, 2017 · 2 comments
Open

Cycle forward #16

jmsegrev opened this issue Jul 6, 2017 · 2 comments

Comments

@jmsegrev
Copy link

jmsegrev commented Jul 6, 2017

Right now I can only cycle the history backwards, is there a way I could move forward from the current yank?. YankRing has this feature.

@woahdae
Copy link

woahdae commented Apr 18, 2018

Typing g- does this for some reason, I can't figure out what it's really doing. And, you can't cycle back, then forwards, then back again. Once you hit g- (can use multiple times) you can't cycle back again.

@bfredl
Copy link
Owner

bfredl commented Apr 19, 2018

It is somewhat a hack, it uses time addressed undo history. Ideally nvim-miniyank shouldn't clutter undo history at all. This functionally exists internally in nvim, u_undo_and_forget, but it is not exposed to plugins yet as more validation is needed (it should only be allowed in the recentmost linear branch).

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

3 participants