[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: |
Emre Sevinc |
Subject: |
Re: How to produce the effect of * and # of VIM in Emacs? |
Date: |
Wed, 27 Jul 2005 21:34:35 +0300 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
Kevin Rodgers <ihs_4664@yahoo.com> writes:
> 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")
After reading your post I tried that by typing it
in scratch buffer and pressing C-j however whatever
macro it created, it did not work when I came over
a word and pressed that character.
Then I tried to unset it by using global-unset-key
in a similar way, it didn't give any error but
when I press that key it beeps and doesn't do anything,
I have also tried using the interactive form
M-x global-unset-key and give that character as a
parameter, but nothing changed :(
How can I unset and be able to use it as before?
BTW, my GNU Emacs is version 21.3.1
Thanks in advance.
--
Emre Sevinc
eMBA Software Developer Actively engaged in:
http:www.bilgi.edu.tr http://ileriseviye.org
http://www.bilgi.edu.tr http://fazlamesai.net
Cognitive Science Student http://cazci.com
http://www.cogsci.boun.edu.tr
Re: How to produce the effect of * and # of VIM in Emacs?, Vagn Johansen, 2005/07/27
Re: How to produce the effect of * and # of VIM in Emacs?, Kevin Rodgers, 2005/07/27
Message not available
- Re: How to produce the effect of * and # of VIM in Emacs?,
Emre Sevinc <=