MovingtoMars / liner

A readline-like library in Rust.
MIT License
74 stars 24 forks source link

kill by path-fragment #73

Closed aeosynth closed 4 years ago

aeosynth commented 7 years ago

in fish, ctrl+w doesn't kill the entire word (string of non-whitespace), it kills up to the closest slash. requesting this feature.

valpackett commented 5 years ago

+1. In zsh, this is configurable: words are defined as sequences of (alphanumeric || in $WORDCHARS) characters. By default $WORDCHARS is *?_-.[]~=/&;!#$%^(){}<>, and removing the / from there accomplishes the fish behavior.

aeosynth commented 5 years ago

@myfreeweb this repo is inactive, and was forked https://gitlab.redox-os.org/redox-os/liner