Repository navigation
Insert key doesn't switch to overtype/overwrite mode #1012
Description
Activity
- addedfeature-requestRequest for new features or functionalityRequest for new features or functionality
on Dec 4, 2015 stephenmartindale commented
on Mar 27, 2016 More actionsPlease fix this! Incidentally, overtype-mode is an open issue in Atom, too: atom/atom#3023
Reproduced in:
VSCode Version: 0.10.11 OS Version: Microsoft Windows 10Reacted by Guilherme Alan Ritter, John McFarlane, Mr. Wanta, Jacob Anderson, Tyler Butler, Michael W Powell, Mikey, hello-smile6, Cloud, Stephan Steinmiller and 3 moreI aggre! For some very special use cases, passing in overtype mode can be very useful (for example to create a padded table in ascii mode).
And in OS X there is no physical key to toggle insert/overtype so this future feature will be necessary to be accessed by a command or in the status bar (like Word).Reacted by Jaime Olivares, tobia, terenceng2010, Kumar Harsh, Eric Sirianni, Arthur Wallendorff, honza, Alejandro Bertinelli, Filip Hurta, Roman Starkov and 24 more- addededitor-coreEditor basic functionalityEditor basic functionality
on Aug 30, 2016 - changed the title
[-]Insert key doesn't switch to overtype mode[/-][+]Insert key doesn't switch to overtype/overwrite mode[/+]on Aug 31, 2016 For example, It would be useful when editing a markdown table.
Reacted by Simran, Eric Sirianni, honza, PotcFdk, Stephen Martindale, Joshua McKinney, Benjamin Philippe Applegate, Hendy Irawan, Roman Starkov, munrocket and 55 moreReacted by Andrew Moore, David Refoua, Siva Senthil, Tyler Butler, Mikey and hello-smile6I am really missing this while working with markdown tables inside vscode. Also for (now and then) editing fixed width ascii files. Would this be possible with a plugin?
Reacted by Guilherme Alan Ritter, Tyler Butler, Václav Brožík, Michael W Powell, Mikey, hello-smile6, Jonathan Allen, mydoghasfleas and Dwayne RobinsonAs it turns out, this can be done with an extension. So I did it! I put it together pretty quickly, so it could probably use some shakedown time before a 1.0 release.
Reacted by Kenny Johnson, Arthur Wallendorff, Jes, Robert Koritnik, SpeedCoder5, Reza, Eliandro, Higor E., Alejandro Bertinelli, Levi Hobbs and 48 moreReacted by Daniel Joffe, Pete Gonzalez, annie, Toan N. Nguyen, terenceng2010, Lars Fernhomberg, Andy Lowry, Remco Ros, Asterius, Kenny Johnson and 38 more+1 I was shocked to discover that Windows Notepad and MS Word don't support this either. I had assumed that this feature was standard across every text editor.
Adam Maras (@AdamMaras) have you considered making a PR against VS Code?
Reacted by HarikrishnanBalagopalIITK, teslavitas, jb, Guilherme Alan Ritter, Josef Zdráhal, Bernd Winter, Brendan McDonnell, Michael W Powell, hello-smile6, Stephan Steinmiller and 8 morePete Gonzalez (OLD ALIAS) (@pgonzal) I have not, I haven't taken the time to get familiar with the contribution guidelines. Also, since the extension's been installed by a handful of people and I'm getting some feedback, I think I'd like to iterate on it a bit more before proposing adding its behavior directly to Code.
Reacted by Max Russell, Tyler Butler, Brendan McDonnell, SGP57, Michael W Powell, hello-smile6, Jonathan Allen and Mark225 remaining items
Load more actions- addedinsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code Insiders
on Dec 2, 2024 Just wanted to say thanks and that the functionality works great in VS Code Insiders.
Reacted by Aiday Marlen Kyzy, Guilherme Alan Ritter and Rose SakachReacted by xietyAiday Marlen Kyzy (@aiday-mar) is a hero! Thank you!
Us old(er) programmers grew up with insert/overtype, some use-cases it’s extremely useful!
Reacted by Guilherme Alan Ritter, Aiday Marlen Kyzy and Ivan PizhenkoReacted by xietyWill the change also land on the standalone Monaco Editor?
Reacted by Jacob Stamm and Hoàngaiday-mar commented
on Dec 6, 2024 ContributorMore actionsHi everyone thank you for the kind words.
Edoardo Luppi (@lppedd) I believe yes, as you can use the command palette in the monaco editor and the action should be available from there.
Reacted by Guilherme Alan Ritter, Tom Bresson and EviSONGReacted by Edoardo Luppi, jkyeung and Tom BressonI'm so happy to see this feature landed in v1.96.0 release notes. I bind the "insert" key to this feature in my Keyboard Shortcuts and it works well, thanks for adding this feature!
Btw, is it possible to bind the "insert" key by default in VSCode? I don't think many developers assign this key to other features.
Reacted by Guilherme Alan RitterBtw, is it possible to bind the "insert" key by default in VSCode? I don't think many developers assign this key to other features.
EviSONG (@evisong) it's definitely bound by default for me. Maybe you've used the insert key for something else before.
Reacted by heartacker, EviSONG and Guilherme Alan Ritteraiday-mar commented
on Dec 16, 2024 ContributorMore actionsThe insert key is bound by default on Windows. On MacOS the keybinding is
option+command+oReacted by Jacob Stamm, Guilherme Alan Ritter, starball and EviSONGAiday Marlen Kyzy (@aiday-mar) is there a way to get the current input mode setting (
'insert' | 'overtype')?
My use case is having webviews with standalone Monaco Editor using the correct input mode, aligned with VS Code.aiday-mar commented
on Dec 16, 2024 ContributorMore actionsI believe you should be able to access any setting value from an extension using
vscode.workspace.getConfigurationUnder settings I can only find the
editor.overtypeCursorStyleandeditor.overtypeOnPastekey.
There seems to be no key for the actual overtype state.Reacted by Aiday Marlen Kyzyaiday-mar commented
on Dec 16, 2024 ContributorMore actionsAh yes Edoardo Luppi (@lppedd) apologies, you are right. We do not surface the overtype/insert mode using settings. The behavior is similar to tabMovesFocus in that the state is stored in memory for the duration of the session. If you need this functionality, could you open an issue about this?
Aiday Marlen Kyzy (@aiday-mar) sure thing, I've created #236218.
- locked and limited conversation to collaborators
on Jan 13, 2025
Insert key should switch between insert and overtype modes but it does not.
Version 0.10.3
Commit 783ecf8
Date 2015-11-26T14:10:14.207Z
Shell 0.34.1
Renderer 45.0.2454.85
Node 4.1.1
Ubuntu 14.04