5

I'd like to press ; to drop into ex mode, instead of : Does anyone know how I can configure vimpulse to make this happen? Thanks!

Devin Burke
  • 13,642
  • 12
  • 55
  • 82
Frew Schmidt
  • 9,364
  • 16
  • 64
  • 86

1 Answers1

3

You can do this by adding a keymap :

(define-key viper-vi-global-user-map (kbd ";") 'viper-ex)

As well, if you also use vimpulse:

(define-key vimpulse-visual-global-user-map (kbd ";") 'vimpulse-visual-ex)
winterTTr
  • 1,739
  • 1
  • 10
  • 30
  • Excellent! Could you also tell me how to make : do what ; does? (; repeats the last by-character search, such as tTfF[foo]) – Frew Schmidt Jul 05 '11 at 15:07
  • Use the same command, but bind (kbd ":") to `viper-repeat-find`. You can easily find what a key is binding by `CTRL-h k` – winterTTr Jul 06 '11 at 06:39