8000 ctrl-d (meaning "forward delete character") stops at period · Issue #667 · fish-shell/fish-shell · GitHub
[go: up one dir, main page]

Skip to content

ctrl-d (meaning "forward delete character") stops at period #667

@metamatt

Description

@metamatt

I just figured out how to quantify a problem that's been bugging me. Frequently I'll use the history to call up some previously invoked command and then edit it; when I do this I tend to use the ctrl-key combinations for editing and cursor movement (C-a, C-e, C-f, C-b for movement and C-d to delete) to keep my fingers on the home row.

I noticed that C-d acts strangely when trying to delete past a period character: it does nothing at all. Basically, it gets stuck on the period / dot.

The actual forward-delete key (Fn-delete on my Macbook) works fine on dot.

Steps to repro: at a fish prompt, type a.a, C-a, C-d, C-d, C-d. This should add 3 characters, return to the beginning of the line, then delete all 3 characters. What I see is it deletes the first a and then nothing more; the 2nd and 3rd C-d command do nothing.

I tried to search the bug database and the internet to find reports of simila 6F86 r problems and came up empty, but I wonder if this might be related to #384. I don't, however, see any problems deleting other word-separator characters (/, -, _).

I see this under both OS X an Linux. I'm running a recent development snapshot of fish (42497d9) under both OSes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0