Search code examples
vimvi

Change command line mode key ":"


I'd like to change the way to enter command line mode. In particular, I want to change the : key to ;, since : is just Shift + ; for me. I've tried, so far,

  • nnoremap ":" ";"
  • nnoremap "<S-;>" ";"
  • nnoremap : ;

but they've not worked.


Solution

  • Looks like you got : and ; the wrong way around. nnoremap ; : does the trick for me.