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
It seems difficult to fix this currently. The current behavior is correct in normal mode. Thus, we need to implement different logic for cursor placement.
The problem is there is no way to realize the use of Ctrl-o inside a script. Probably, we need this patch. vim/vim#3000
Right now vim-sandwich does not return to the desired cursor position in following example.
Current behavior:
word|
Ctrl-o ysiw' positions the cursor as following:'|word'
Expected behavior:
word|
Ctrl-o ysiw' should position the cursor as following:'word'|
|
denotes the cursor position. I am using the vim-surround mappings described in the documentation.I came across this issue on the vim-surround issue tracker:
tpope/vim-surround#253
The text was updated successfully, but these errors were encountered: