25

How do I change the settings to where I can press the space bar and it put a space after the letter instead of deleting the letters after it. For example, when I have a sentence like " I hav to go." And I want to put the cursor after the v to add an e it will end up like this "I haveto go" then I go to put a space between them and it does this " I haveo go" then add another space " I have go" then "I havego" then another space and it does the same thing " I haveo" and it deletes the letters after it.

marked as duplicate by G-Man, Burgi, jww, phuclv, Worthwelle Jul 10 at 16:09

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

36

This is caused by the Insert key on your keyboard, it replaces the letters to the right as you explained.

Simply press the Insert key and it will deactivate the replace mode. Pressing it the second time reactivates it.

108

I guess you are in replace mode, just press the "Insert" key on your keyboard.


From comments (Thanks @FabioTurati)

The cursor is different: in Insert mode it's a vertical bar placed between two letters, whereas in Overtype mode it's an underscore, and it is under one letter (the one which will be overwritten if you type something)

  • 31
    Also known as Overtype mode as opposed to Insert mode. Look for OVR or INS at the right end of the status bar to determine which mode the editor is in. – Jeeped Jul 8 at 1:24
  • 13
    Absolutely. And it isn't limited to Notepad++ either, many text editors (and plenty of other programs) support this mode. – Mast Jul 8 at 10:35
  • 13
    @undefined: I use it regularly when I want to overtype d'uh. It's also very useful when working with tables in plain text files (e.g. in tabular plain text databases or when adding a table to a markdown document). – phresnel Jul 8 at 12:49
  • 18
    @undefined: To extend phresnel's comment, if you've ever made ASCII art, you'd use OVR religiously as well. – Flater Jul 8 at 13:53
  • 4
    ...and now that I think about it, I should be using overtype more often when writing in my programming esolang. Its a 2D language, so needing to overtyping NOP commands is a regular occurrence. I feel silly for not realizing this sooner, as overtype mode is more often an annoyance rather than a desired behavior. – Draco18s Jul 8 at 14:17

Not the answer you're looking for? Browse other questions tagged or ask your own question.