Skip to content

tweak Ctrl-k behavior (request) #514

Closed
@emanresusername

Description

@emanresusername

I'm used to zsh so i might be biased, but i almost always want Ctrl-k to only delete the current line, instead of deleting everything after the cursor

say i were to hit Ctrl-k in the following scenario, the | represents the cursor

{
|import com.duplicate.thing
import com.duplicate.thing
val lots = """
and
lots
of
lines
after
that
you
want
to
keep
"""
}

i'd prefer the result to simply remove the duplicate line, instead of the current behavior which would remove everything after the cursor and leave me with just

{

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions