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
This iteration, I have added overtype mode, which allows to replace characters as you are typing instead of inserting. There are two new settings:
editor.overtypeCursorStyle: controls the style of the cursor in overtype mode, the default is block.
editor.overtypeOnPaste: controls whether pasting should replace or insert characters in overtype mode. The default is true.
To test please do the following:
Update VS Code to the latest, and run the command Toggle Overtype/Insert Mode
Verify that in overtype mode, a status bar action appears with the text OVR. Verify that clicking on it, toggles back insert mode
Open a file, place the cursor and type. Verify that the characters after the cursor are replaced correctly.
3.a. Test the above with an empty selection and a non-empty selection, and verify the characters are replaced correctly
Set the setting editor.overtypeOnPaste to true. Paste some text, and verify that the text that is pasted replaces the current active line. If you paste several lines, the lines after the first are inserted below the active line. This behavior mirrors Vim pasting in overtype mode.
4.a. Test the above with an empty selection and a non-empty selection
Set the setting editor.overtypeOnPaste to false. Paste some text, and verify that the text is correctly inserted as before.
The text was updated successfully, but these errors were encountered:
ref #1012
Complexity: 3
Create Issue
This iteration, I have added overtype mode, which allows to replace characters as you are typing instead of inserting. There are two new settings:
editor.overtypeCursorStyle
: controls the style of the cursor in overtype mode, the default is block.editor.overtypeOnPaste
: controls whether pasting should replace or insert characters in overtype mode. The default is true.To test please do the following:
Toggle Overtype/Insert Mode
OVR
. Verify that clicking on it, toggles back insert mode3.a. Test the above with an empty selection and a non-empty selection, and verify the characters are replaced correctly
editor.overtypeOnPaste
to true. Paste some text, and verify that the text that is pasted replaces the current active line. If you paste several lines, the lines after the first are inserted below the active line. This behavior mirrors Vim pasting in overtype mode.4.a. Test the above with an empty selection and a non-empty selection
editor.overtypeOnPaste
to false. Paste some text, and verify that the text is correctly inserted as before.The text was updated successfully, but these errors were encountered: