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

Undo levels not restored #45

Open
chipsenkbeil opened this issue Oct 17, 2018 · 4 comments
Open

Undo levels not restored #45

chipsenkbeil opened this issue Oct 17, 2018 · 4 comments

Comments

@chipsenkbeil
Copy link

chipsenkbeil commented Oct 17, 2018

When using the plugin, I find that my undo levels are not restored. So it leaves me at undolevels=-1. It also leaves me in insert mode in whichever window I jump to.

screen shot 2018-10-17 at 2 46 06 pm

I'm assuming something fails in the undoclear method around

noautocmd execute "normal! a \<BS>\<Esc>"

@NickRaleigh
Copy link

I'm running into the same issue. Immediately after using choosewin, I am no longer able to undo, and insert mode is activated.

@ghost
Copy link

ghost commented Dec 28, 2018

I've found that this behavior only happens when using overlay mode. If I use the default mode undo works and I don't get dropped into insert mode.

@t9md
Copy link
Owner

t9md commented Dec 30, 2018

I know this is the very critical and frustrating issue which should be fixed immediately.
But currently, I'm not using this plugin actively.
So I want to wait someone sent me PR for this issue.

@chipsenkbeil
Copy link
Author

I know this is the very critical and frustrating issue which should be fixed immediately.
But currently, I'm not using this plugin actively.
So I want to wait someone sent me PR for this issue.

I may look into this to see what's up while I have a little vacation left. Was more pointing it out to see if anyone had a fix versus asking @t9md to fix it directly! I've been in the same boat of not using a project that I maintain and it being difficult to handle requests.

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