Skip to content

(Feature Request) Make some keys function differently when inside a code block #2073

Description

@cggjaicf

Describe the problem

It would be useful to have my keys behave more like a code editor when inside of a ``` code block.

Describe the solution you'd like

I'd expect
ENTER to insert newline instead of sending a message while the code block is not closed(final ``` is not there)
TAB/SHIFT+TAB to move selected text or current line x characters(configurable and/or \t and/or auto detected) right/left
^ observe behavior of discord
additionally some other shortcuts like CTRL+X would be useful but not as important as the abovementioned ones

Alternatives considered

No response

Additional context

No response

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions