Skip to content

[Request] Uniform Shift + Enter behavior.  #10

Description

@piotrenewicz

Currently this plugin works as follows:

If there is only 1 line Shift+Enter will add another.
If there is more lines Shift+Enter will send.

If there is only 1 line Enter will send.
If there is more lines Enter will add lines. 

I find this behavior confusing,
and it seems there's a symmetry between those two modes.

I've decided to fix this for myself, by making a small change.
With my Pull request it will work as follows:

Shift+Enter will always add a new line
Enter will always send.

I've also updated README to reflect this change in the explanation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions