Open OJFord opened 8 years ago
Hi @OJFord , Thanks a lot for pointing this out! I try to be consistent with Vi(m), so if we do something different, then that's a bug. I'll try to find a fix for this. (If you have a fix, that's also welcome. ;) ) Thanks again, Jonathan
Thanks :)
I don't really have enough of a model of how this works, but it seems like maybe the w
/W
handlers here could instead return e
/E
if the operation is c
?
I use fish rather than xonsh these days; which is written in C++ and so doesn't use this library (or have this problem) - consequently I don't know if this is still an issue or not, but since only one other 👍🏻's shown any interest I'll close it.
(Feel free to re-open, @ maintainers, if it is something you want, or @ anyone else ping me and I'll gladly re-open if it's still a problem and others care about it. 🙂)
I have hit this issue are well, please reopen.
In Vi,
This means that, if I type "brew search xonsh" in Vi(m), with my cursor placed at the beginning of 'search';
cw
will allow me to typeinstall<esc>
to change the sentence to "brew install xonsh".In prompt_toolkit however, the same process would result in "brew installxonsh".
It may sound trivial, but since vim-users will spend more time using vim commands in vim than anywhere else, it's hard to remember the different behaviour and may cause problems.