help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to produce the effect of * and # of VIM in Emacs?


From: Kevin Rodgers
Subject: Re: How to produce the effect of * and # of VIM in Emacs?
Date: Wed, 27 Jul 2005 11:41:37 -0600
User-agent: Mozilla Thunderbird 0.9 (X11/20041105)

Emre Sevinc wrote:
> What I'm trying to learn is how to produce the effect
> of * and # of VIM in Emacs.
>
> I know I can make something like that:
>
> M-b C-s C-w
>
> I'd like to learn how can I make it with a single keystroke
> (key combination) or write some elisp function that
> does so.

Since you know the equivalent key sequence, it's just a macro:

(global-set-key "*" "\M-b\C-s\C-w")

--
Kevin Rodgers





reply via email to

[Prev in Thread] Current Thread [Next in Thread]