From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Frank Fischer Newsgroups: gmane.emacs.help Subject: Re: [vimpulse] Custom keybinding Date: Tue, 29 May 2012 21:05:44 +0000 (UTC) Message-ID: References: <33923351.post@talk.nabble.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1338325569 28947 80.91.229.3 (29 May 2012 21:06:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 29 May 2012 21:06:09 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 29 23:06:09 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SZTcH-0003vH-2q for geh-help-gnu-emacs@m.gmane.org; Tue, 29 May 2012 23:06:09 +0200 Original-Received: from localhost ([::1]:48742 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZTcG-0006Rp-Pp for geh-help-gnu-emacs@m.gmane.org; Tue, 29 May 2012 17:06:08 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42357) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZTc9-0006Ib-DY for help-gnu-emacs@gnu.org; Tue, 29 May 2012 17:06:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SZTc6-0007Nl-AZ for help-gnu-emacs@gnu.org; Tue, 29 May 2012 17:06:00 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:42294) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZTc6-0007N4-4L for help-gnu-emacs@gnu.org; Tue, 29 May 2012 17:05:58 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SZTc2-0003lz-8N for help-gnu-emacs@gnu.org; Tue, 29 May 2012 23:05:54 +0200 Original-Received: from mordred.mathematik.tu-chemnitz.de ([134.109.40.151]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 May 2012 23:05:54 +0200 Original-Received: from frank-fischer by mordred.mathematik.tu-chemnitz.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 May 2012 23:05:54 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 31 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: mordred.mathematik.tu-chemnitz.de User-Agent: slrn/0.9.9p1 (Linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:85041 Archived-At: On 2012-05-29, saheel1511 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