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

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

Re: How can I bind a shell command to a key?


From: Ye Wenbin
Subject: Re: How can I bind a shell command to a key?
Date: Mon, 22 May 2006 15:04:14 +0800
User-agent: Opera M2/7.50 (Win32, build 3778)


I think abbrev is better way to do this:
(define-abbrev-table 'shell-mode-abbrev-table '(
    ("findx" "find . -type f -name \"*\" -print |etags -" nil 0)
    ))

On 21 May 2006 19:51:51 -0700, LUK <700MHz@gmail.com> wrote:


Hi, I want to bind a shell command "find . -type f -name "*" -print |
etags -"
to"F1",
what should I write in ".emacs"?
Thanks!

_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs




--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/





reply via email to

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