On Jan 9, 2008, at 4:51 PM, rgheck wrote:
Declan O'Byrne wrote:
Hi all,
Similar to another thread currently underway, I'd like to find out
some of the important keyboard shortcuts for lyx on OS X
(Leopard). What for example is "insert footnote"? What is "insert
citation"? I would have expected these to be "Command i" for
insert and "f" for footnote or "c" for citation. But these don't
work....
Look at the mac.bind file. They're all detailed there, and you can
reconfigure them as you wish by editing this file. Just copy it to
your local LyX directory and have at it.
Better yet, look at the mac-bind.pdf file that is included with the
LyX/Mac distribution. Insert footnote is not defined there, but you
can define it yourself by creating a file with the following:
\bind_file mac.bind
\bind "S-C-F" "footnote-insert"
Put that in ~/Library/Application Support/LyX-1.5/bind, and select
that file in LyX > Preferences > User Interface > Bind file. Below I
have copied the standard keybindings I add to mac.bind. If others
like them, they can be added to mac.bind as the default for everyone.
Thanks to Bo Peng, LyX 1.6 will have an integrated shortcut editor.
Go Bo!
Yes -- that will be nice.
Bennett
---------
\bind "S-C-F" "footnote-insert"
\bind "S-C-B" "dialog-show-new-inset citation"
\bind "F11" "language greek"
# Insert menu
\bind "C-S-I m" "marginalnote-insert"
\bind "C-S-I l" "label-insert"
\bind "C-S-I r" "dialog-show-new-inset ref"
\bind "C-S-I i" "index-insert"
\bind "C-S-I n" "note-insert"
\bind "C-S-I u" "url-insert"
\bind "C-S-I h" "hfill-insert"
\bind "C-S-I s" "optional-insert"
\bind "C-S-I p" "dialog-show-new-inset graphics"
\bind "C-S-I S-S" "dialog-show-new-inset vspace"
\bind "C-S-I t" "tabular-insert"
\bind "C-S-I c" "note-insert Comment"
\bind "C-S-I s" "note-insert Shaded"
\bind "C-S-I g" "note-insert Greyedout"
\bind "C-S-I S-L" "line-insert"
# Layout menu
\bind "C-M-c" "dialog-show character"
\bind "C-M-p" "layout-paragraph"
\bind "C-M-d" "dialog-show document"
\bind "C-M-t" "layout-tabular"
# View menu
\bind "M-S-V o" "dialog-toggle toc"
\bind "M-S-V s" "dialog-toggle view-source"
\bind "M-S-V t" "buffer-view text"
\bind "M-S-V h" "buffer-view html" #tex4ht
\bind "M-C-t" "buffer-view pdf" # view ps2pdf
\bind "C-t" "buffer-view pdf2" # bind to pdflatex rather than
default ps2pdf
# Miscellaneous
\bind "M-C-w" "words-count"
\bind "M-C-n" "note-next"