auctex
[Top][All Lists]
Advanced

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

[AUCTeX] Creating a Keyboard Shortcut in Emacs for a Command in Auctex


From: Jeffrey Spencer
Subject: [AUCTeX] Creating a Keyboard Shortcut in Emacs for a Command in Auctex
Date: Thu, 11 Aug 2011 00:03:04 +1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110628 Thunderbird/5.0

I have created a custom command in the command list in Auctex. I want to be able to set it to a key binding like the View command which is C-c C-v. I know how to set global key bindings in the .emacs. I'm not sure how to do it for a custom command.

Here is the line I add into .emacs:

(add-to-list 'TeX-command-list'("Doall" "%%l%(mode)%' %t; bibtex %s && %%l%(mode)%' %t && %`%l%(mode)%' %t && %V" TeX-run-TeX t t :help "Run LaTeX BibTeX LaTeX LaTeX View"))

Any help on what to put after it to bind this to a key would be great.

Cheers,
Jeff

-- 
________________________
Jeffrey Spencer
address@hidden

reply via email to

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