2

How can you switch from insert mode to replace/overtype mode in vim? In windows/*nix I just hit the insert key twice (command->insert->replace), but unfortunately i'm stuck on a mac now which doesn't recognize the insert key.

2
  • 1
    Why can't you hit Esc to go to Normal mode and then type R to go into replace mode? (See Vim Modes)
    – harrymc
    Apr 8, 2019 at 19:48
  • Its what I'm doing now but it I would like to add some remaps to be able to just hit a toggle key, force of habit with a standard keyboard.
    – someguypq
    Apr 9, 2019 at 15:41

1 Answer 1

1

You can map a key combination to do the role of the "Insert" key while in insert mode.

For instance, to use Control-T:

:inoremap <C-T> <Ins>

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .