Reputation: 2859
Let's say I have these lines:
key1 value1
key2 value2
key3 value3
key4 value4
I click just before key
hold CTRL + ALT and press arrow down few times. Now my cursor is at the beginning of both lines:
|key1 value1
|key2 value2
|key3 value3
|key4 value4
Is there a keyboard-only way to deselect a particular line? I thought it could be CTRL+ALT+SHIFT and then arrow up but that changes the selection based on the inital cursor (basically selects key1 line and any line above if it exists.
What I want to achieve is to be able to go back to:
|key1 value1
|key2 value2
|key3 value3
key4 value4
But only using keyboard. Sometimes when selecting, I select one extra line - with a mouse it's sometimes a lot of clicking to get to the right position.
Upvotes: 1
Views: 931
Reputation: 887
CTRL+U will undo the last cursor operation.
|key1 value1
|key2 value2
|key3 value3
|key4 value4
CTRL+U
|key1 value1
|key2 value2
|key3 value3
key4 value4
The only way to arbitrarily remove cursors is by ALT+L-Click on the location of the cursor you would like to remove.
Upvotes: 2