all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: saheel1511 <saheel.godhane@gmail.com>
To: Help-gnu-emacs@gnu.org
Subject: [vimpulse] Custom keybinding
Date: Mon, 28 May 2012 23:54:52 -0700 (PDT)	[thread overview]
Message-ID: <33923351.post@talk.nabble.com> (raw)


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?

Thank you,
Saheel.
-- 
View this message in context: http://old.nabble.com/-vimpulse--Custom-keybinding-tp33923351p33923351.html
Sent from the Emacs - Help mailing list archive at Nabble.com.




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

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-29  6:54 saheel1511 [this message]
2012-05-29 21:05 ` [vimpulse] Custom keybinding Frank Fischer
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=33923351.post@talk.nabble.com \
    --to=saheel.godhane@gmail.com \
    --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.