The displayPosition parameter may be used to query or set the cursor's display column position on the current element. The display column position includes any spaces that have been added due to tab expansion and any characters that have been used to display the element's sequence number. If there are no expanded tab characters and no sequence numbers, the displayPosition parameter behaves the same as the position parameter.
query command
set command
The current view.
query displayPosition set displayPosition n
n | Use the n parameter to indicate the display column position of the cursor. |
Note that it may not be possible to move the cursor to the specified display column position. If the specified display column position is in the middle of an expanded tab character or part of the sequence number, the cursor will be moved to a display position that is not in the middle of an expanded tab character or part of a sequence number.
query displayPosition set displayPosition 20