* [vimpulse] Custom keybinding
@ 2012-05-29 6:54 saheel1511
2012-05-29 21:05 ` Frank Fischer
0 siblings, 1 reply; 3+ messages in thread
From: saheel1511 @ 2012-05-29 6:54 UTC (permalink / raw
To: Help-gnu-emacs
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [vimpulse] Custom keybinding
2012-05-29 6:54 [vimpulse] Custom keybinding saheel1511
@ 2012-05-29 21:05 ` Frank Fischer
2012-05-30 7:16 ` saheel1511
0 siblings, 1 reply; 3+ messages in thread
From: Frank Fischer @ 2012-05-29 21:05 UTC (permalink / raw
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [vimpulse] Custom keybinding
2012-05-29 21:05 ` Frank Fischer
@ 2012-05-30 7:16 ` saheel1511
0 siblings, 0 replies; 3+ messages in thread
From: saheel1511 @ 2012-05-30 7:16 UTC (permalink / raw
To: Help-gnu-emacs
Frank Fischer-7 wrote:
>
> 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).
>
> Frank
>
> [1] http://www.emacswiki.org/emacs/Evil
> [2]
> http://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list
>
>
Hey, Frank.
Thanks a lot. I have started using Evil.
And guess what? The C-d operates, by default, just the way I want it to be!
Regards,
Saheel.
--
View this message in context: http://old.nabble.com/-vimpulse--Custom-keybinding-tp33923351p33929826.html
Sent from the Emacs - Help mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-05-30 7:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-29 6:54 [vimpulse] Custom keybinding saheel1511
2012-05-29 21:05 ` Frank Fischer
2012-05-30 7:16 ` saheel1511
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.