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

hitting enter midline when in insert mode puts cursor at end of next line #57

Open
salcode opened this issue Jul 9, 2014 · 3 comments · May be fixed by #66
Open

hitting enter midline when in insert mode puts cursor at end of next line #57

salcode opened this issue Jul 9, 2014 · 3 comments · May be fixed by #66

Comments

@salcode
Copy link
Contributor

salcode commented Jul 9, 2014

For example, if you have this line

ABCDEFGHIJK

and you place your cursor over the D, enter insert mode with i, and press the ENTER key

I would expect the cursor to end up at the beginning of the second line (before the D) but instead the cursor is at the end of the second line (after the K).

ABC
DEFGHIJK
@curtismchale
Copy link
Owner

Yeah I noticed that in the last few days as well. So it's a recent change/bug.

@salcode
Copy link
Contributor Author

salcode commented Jul 9, 2014

@curtismchale Interesting that you've noticed this in the last few days. In my mind this bug has been around for awhile (possibly since I started using this config) and I only now got around to reporting it. I certainly could be wrong.
Either way, the troubleshooting is probably the same; disabling plugins until the behavior goes away. I hope to have some time to check this out soon.

@curtismchale
Copy link
Owner

@salcode It's the Smart Tabs plugin, after just spending time testing. Now for a solution.

@salcode salcode linked a pull request Sep 3, 2014 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants