Skip to content

Insert key doesn't switch to overtype/overwrite mode #1012

Description

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

Activity

  1. stephenmartindale commented on Mar 27, 2016

    @stephenmartindale

    Please 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 10
    
  2. pom421 commented on May 9, 2016

    @pom421

    I 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).

  3. changed the title [-]Insert key doesn't switch to overtype mode[/-] [+]Insert key doesn't switch to overtype/overwrite mode[/+] on Aug 31, 2016
  4. terenceng2010 commented on Dec 5, 2016

    @terenceng2010

    For example, It would be useful when editing a markdown table.

  5. remcoros commented on Dec 5, 2016

    @remcoros

    I 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?

  6. AdamMaras commented on Dec 16, 2016

    @AdamMaras

    As 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.

  7. octogonz commented on Feb 3, 2017

    @octogonz

    +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?

  8. AdamMaras commented on Feb 3, 2017

    @AdamMaras

    Pete 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.

  9. 225 remaining items

  10. adam-wolfe commented on Dec 3, 2024

    @adam-wolfe

    Just wanted to say thanks and that the functionality works great in VS Code Insiders.

  11. miaLDN commented on Dec 5, 2024

    @miaLDN

    Aiday 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!

  12. lppedd commented on Dec 5, 2024

    @lppedd

    Will the change also land on the standalone Monaco Editor?

  13. aiday-mar commented on Dec 6, 2024

    @aiday-mar
    Contributor

    Hi 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.

  14. evisong commented on Dec 16, 2024

    @evisong

    I'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.

  15. StrangePeanut commented on Dec 16, 2024

    @StrangePeanut

    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.

    EviSONG (@evisong) it's definitely bound by default for me. Maybe you've used the insert key for something else before.

  16. aiday-mar commented on Dec 16, 2024

    @aiday-mar
    Contributor

    The insert key is bound by default on Windows. On MacOS the keybinding is option+command+o

  17. lppedd commented on Dec 16, 2024

    @lppedd

    Aiday 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.

  18. aiday-mar commented on Dec 16, 2024

    @aiday-mar
    Contributor

    I believe you should be able to access any setting value from an extension using vscode.workspace.getConfiguration

  19. lppedd commented on Dec 16, 2024

    @lppedd

    Under settings I can only find the editor.overtypeCursorStyle and editor.overtypeOnPaste key.
    There seems to be no key for the actual overtype state.

  20. aiday-mar commented on Dec 16, 2024

    @aiday-mar
    Contributor

    Ah 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?

  21. lppedd commented on Dec 16, 2024

    @lppedd

    Aiday Marlen Kyzy (@aiday-mar) sure thing, I've created #236218.

  22. locked and limited conversation to collaborators on Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions