You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GNU bash, version 5.2.15(1)-release (x86_64-pc-linux-gnu) [Linux Mint 20.3]
ble.sh, version 0.4.0-devel4+0906fd9 (noarch) [git 2.25.1, GNU Make 4.3, GNU Awk 5.0.1, API: 2.0 (GNU MPFR 4.0.2, GNU MP 6.2.0)]
bash-completion, version 2.10 (hash:b6da7f7edfc1c3c5196c86c81fb05fce96f83c03, 74550 bytes) (noarch)
locale: LANG=en_US.UTF-8
terminal: TERM=xterm-256color wcwidth=12.1-west/15.0-2+ri, vte:6003 (65;6003;1)
If you put this on the command line:
# foo bar
then position the cursor on the first o in foo, then type 'vliw', ble.sh fails to extend the visual selection to include the space as vi does.
I think the problem is an off-by-one in ble/keymap:vi/text-object/word.extend-forward (it's hidden by the regex except when the cursor ends on the last char of a wordafter direction indication). I think the fix is:
GNU bash, version 5.2.15(1)-release (x86_64-pc-linux-gnu) [Linux Mint 20.3]
ble.sh, version 0.4.0-devel4+0906fd9 (noarch) [git 2.25.1, GNU Make 4.3, GNU Awk 5.0.1, API: 2.0 (GNU MPFR 4.0.2, GNU MP 6.2.0)]
bash-completion, version 2.10 (hash:b6da7f7edfc1c3c5196c86c81fb05fce96f83c03, 74550 bytes) (noarch)
locale: LANG=en_US.UTF-8
terminal: TERM=xterm-256color wcwidth=12.1-west/15.0-2+ri, vte:6003 (65;6003;1)
If you put this on the command line:
then position the cursor on the first o in foo, then type 'vliw', ble.sh fails to extend the visual selection to include the space as vi does.
I think the problem is an off-by-one in ble/keymap:vi/text-object/word.extend-forward (it's hidden by the regex except when the cursor ends on the last char of a wordafter direction indication). I think the fix is:
The text was updated successfully, but these errors were encountered: