vimpulse: imap "jk" to ESC

Tim Harper timcharper at gmail.com
Fri Feb 11 18:01:04 CET 2011


On Thu, Feb 10, 2011 at 11:28 PM, Linus Arver <linusarver at gmail.com> wrote:
> Hello, I'd like to know how to map "jk" to act as the ESC key in insert mode.
>
> I have tried
>
> (vimpulse-imap "jk" 'viper-intercept-ESC-key)
>
> without success.
>
> -Linus

Try this:


(define-key viper-insert-basic-map (kbd "j k") 'viper-mode)



More information about the implementations-list mailing list