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
To make the editing engine more flexible so upper layer API can simulate some more complicated actions, we may need a new action.
The current Next_line and Prev_line actions are very handy, they set the position without poking wanted_column. If the latest column exceeds the eol of the target line, the cursor will be placed next to the eol position. But this is not how vi behave in its normal mode.
My proposal is to add a new action, so the upper layer, lterm_vi for instance, can be vi compatible. It then can calculate the proper position by itself and tell zed to goto the target position without poking wanted_column, either.
What will be the proper name for the new action? Place Position Teleport
any suggestions?
The text was updated successfully, but these errors were encountered:
kandu
changed the title
New Action to goto positon without setting up the wanted_column
New Action to goto position without setting up the wanted_column
May 4, 2020
To make the editing engine more flexible so upper layer API can simulate some more complicated actions, we may need a new action.
The current
Next_line
andPrev_line
actions are very handy, they set the position without poking wanted_column. If the latest column exceeds the eol of the target line, the cursor will be placed next to the eol position. But this is not how vi behave in itsnormal
mode.My proposal is to add a new action, so the upper layer, lterm_vi for instance, can be vi compatible. It then can calculate the proper position by itself and tell zed to goto the target position without poking wanted_column, either.
What will be the proper name for the new action?
Place
Position
Teleport
any suggestions?
The text was updated successfully, but these errors were encountered: