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.
C-c C-c d RETcut it for you? Once you add the custom command to your.emacsfile, that would be all you need to do to run it. – Ricardo Aug 12 '11 at 01:23