New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
metamatt opened this Issue Apr 17, 2013 · 2 comments

Comments

Projects
None yet
2 participants
@metamatt

metamatt commented Apr 17, 2013

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.

@ridiculousfish

This comment has been minimized.

Show comment
Hide comment
@ridiculousfish

ridiculousfish Apr 19, 2013

Member

Nice find.

Member

ridiculousfish commented Apr 19, 2013

Nice find.

@ridiculousfish

This comment has been minimized.

Show comment
Hide comment
@ridiculousfish

ridiculousfish Apr 20, 2013

Member

Fixed here:

To git@github.com:fish-shell/fish-shell.git
e285d29..b65f8d8 master -> master

Thanks for reporting this!

Member

ridiculousfish commented Apr 20, 2013

Fixed here:

To git@github.com:fish-shell/fish-shell.git
e285d29..b65f8d8 master -> master

Thanks for reporting this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment