Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [vi-mode] widgets for case manipulation: `gU` and `U` in visual mode
Filipe Silva wrote:
>
> Just a small update on the fix. the correct condition is as follows (the
> other that I've gave you also contains a bug).
>
> if [[ $CURSOR = '0' ]]; then
I've just noticed that we also need to account for the cursor being at
the beginning of a line other than the first one so the correct
condition is:
if [[ CURSOR -eq 0 || $BUFFER[CURSOR] = $'\n' ]]; then
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author