default key bindings (with control modifier) not working?

laputa5 laputa5 at gmail.com
Fri May 6 03:55:24 CEST 2011


It turns out the 'viper-expert-level' is set to 1. I change it to 5, and 
everything is working. =)

On 11-05-03 1:59 AM, laputa5 wrote:
> Hi,
>
> I'm new with Emacs and vimpulse (Thanks for this wonderful extension!).
> Sorry if this question has been answered somewhere or if this is not the
> right place to ask.
>
> I have Emacs 23.3 and the up-to-date vimpulse. It works great except
> that all the default key bindings with the control modifier don't seem
> to work. i.e. in vimpulse-misc-keybindings.el, key bindings like these
> are not working,
>
> (define-key viper-vi-basic-map "\C-]" 'vimpulse-jump-to-tag-at-point)
> (define-key viper-vi-basic-map "\C-t" 'pop-tag-mark)
>
>   >>>  (describe key gives:  C-t runs the command viper-nil)
>
> or
>
> (define-key viper-insert-basic-map "\C-p" 'vimpulse-abbrev-expand-before)
> (define-key viper-insert-basic-map "\C-n" 'vimpulse-abbrev-expand-after
>
>   >>>  (describe key gives: C-p runs the command self-insert-command )
>
> If I rebind them like this, they work,
>     (define-key viper-insert-global-user-map "\C-p"
> 'vimpulse-abbrev-expand-before
>
> Also the default key bindings from viper mode (not vimpulse) don't have
> any issue (e.g. C-c, C-h, C-b, C-d, ...).
>
> What's missing?
>
> Thanks.





More information about the implementations-list mailing list