Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
ctrl-d (meaning "forward delete character") stops at period #667
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
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.