Skip to content

The "Cut" function also has the "CutLine" feature built in. #3793

@daym0ns

Description

@daym0ns

This is my bindings.json:

{
    "Alt-/": "lua:comment.comment",
    "Alt-F": "None",
    "Ctrl-x": "Cut",
    "Ctrl-c": "Copy",
    "Ctrl-k": "None",
    "CtrlAlt-c": "CopyLine",
    "CtrlAlt-f": "FindLiteral",
    "CtrlAlt-s": "Save,Quit",
    "CtrlAlt-x": "CutLine",
    "CtrlUnderscore": "lua:comment.comment"
}

...yet when I press Ctrl+x with nothing selected it cuts the line which I don't want it to do.

I also tried:

"Ctrl-x": "Cut|None",

but it still cut the whole line.
I want CtrlAlt-x to cut the line, not Ctrl-x


OS: Arch Linux | Latest
Terminal: Ghostty
DE: KDE Plasma 6 (Wayland)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions