1

When using Vi or Vim, I need to perform the following sequence to save a file: esc + :s

But the : key is hard to reach on my keyboard. So I would like to switch : and ; so that I can type esc + ;s to save the file.

(I'm looking for a solution that works with every commands, not only to save a file)

Julien
  • 13

1 Answers1

3
nnoremap ; :

See also :help map.

grawity
  • 501,077