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 _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs