Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Copy link
Copy link

Description

@metamatt
Issue body actions

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 similar 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.

Reactions are currently unavailable

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

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.