How to move from insert to replace/overtype mode in vim

1

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.

someguypq

Posted 2019-04-08T15:29:10.900

Reputation: 21

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 – 2019-04-08T19:48:32.887

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 – 2019-04-09T15:41:10.063

Answers

0

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>

filbranden

Posted 2019-04-08T15:29:10.900

Reputation: 1 058