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

Insert a blank line and move cursor to correct indented location ready to type #43

Open
Fred-J opened this issue Dec 12, 2015 · 1 comment

Comments

@Fred-J
Copy link

Fred-J commented Dec 12, 2015

I wish there is such a feature where Shift + Enter would insert a new blank line under the current line regardless of where the cursor currently located and moves the cursor to the beginning of this newly inserted line in the correct indentation ready to type the to-be-inserted-code line.

@fortinmike
Copy link
Owner

Nice idea, @samjesse! That wouldn't bee too hard to implement, too.

Feel free to submit a pull request; there are a few examples of text manipulation in the plugin's source, so if you have some time you (or someone else) could easily implement the feature.

Otherwise, I'm going to keep this in the to-do list.

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

No branches or pull requests

2 participants