all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Frank Fischer <frank-fischer@shadow-soft.de>
To: help-gnu-emacs@gnu.org
Subject: Re: [vimpulse] Custom keybinding
Date: Tue, 29 May 2012 21:05:44 +0000 (UTC)	[thread overview]
Message-ID: <jq3dn8$s1c$1@dough.gmane.org> (raw)
In-Reply-To: 33923351.post@talk.nabble.com

On 2012-05-29, saheel1511 <saheel.godhane@gmail.com> wrote:
>
> Hello everyone,
>
> Although I have been using  http://www.emacswiki.org/emacs/Vimpulse Vimpulse 
> for quite some time now, I didn't really customize it to my liking. Today I
> wanted to change the behavior of C-d in all vi modes. Currently, in
> normal-mode and visual-mode C-d scrolls down, and in insert-mode C-d does
> nothing. I want C-d to execute 'delete-char' in all modes. So I tried this:
>
> (global-set-key (kbd "C-d") 'delete-char)
> and
> (vimpulse-global-set-key 'vi-state' (kbd "C-d") 'delete-char))
>
> Both didn't work. C-d still has the same behavior -- it does not delete a
> character. 
> Any help/suggestions/pointers on how to set custom keybindings for vimpulse?

I can't really help you with vimpulse, but note that vimpulse is no
longer actively developed. There's a new project called "Evil" [1]
that supersedes Vimpulse and has much more features but does not build
on viper (and it is configurable in the way you want).

Anyway, because the maintainer of Vimpulse is also the maintainer of
Evil it's probably a good idea to ask your question on evil's mailing
list [2] or in the irc channel #evil-mode on freenode.

Frank

[1] http://www.emacswiki.org/emacs/Evil
[2] http://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list




  reply	other threads:[~2012-05-29 21:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-29  6:54 [vimpulse] Custom keybinding saheel1511
2012-05-29 21:05 ` Frank Fischer [this message]
2012-05-30  7:16   ` saheel1511

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='jq3dn8$s1c$1@dough.gmane.org' \
    --to=frank-fischer@shadow-soft.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.