[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vimpulse] Custom keybinding
From: |
saheel1511 |
Subject: |
[vimpulse] Custom keybinding |
Date: |
Tue, 29 May 2012 08:18:35 -0700 (PDT) |
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.
- [vimpulse] Custom keybinding,
saheel1511 <=