On 13.12.07, Neal Becker wrote:
> Are there keyboard shortcuts to select an environment?  

yes. and they are even shown for a short while in the status bar at the very
bottom of LyX when you select a layout style from the list.

> I do a lot of beamer
> presentations, could use one for 'begin frame' and 'itemize'.

I am not sure for 'begin frame', but itemize is pretty standard.

you can define your own shortcuts in a bind file like in the example below.


Günter



# ##################################
# gm.bind:  private keybindings file
# ##################################

# To customize the bindings, you can write your own bind-file (or use
# this template) and load the default bindings from here.
# In the GUI, set the bindings to your privat bind-file. LyX will search for
# private keybinding files in the directory ~/.lyx/bind/

# Inputs
# ======

# Before defining your own bindings, select one of the available default
# binding sets. These are resource files (like this one) that define a
# large set of (keyboard) bindings. These files live in the /bind directory of
# the LyX system directory and have the .bind suffix.
#
# The \bind_file command looks in the LyX bind directory for a file
# of the given name, so a full path should not be given.
#
# Currently, you can choose from the following flavors:
#

\bind_file cua.bind     #   KDE-, Windows-, Mac- and Motif-like bindings
#\bind_file emacs.bind  #   for Emacs-like bindings.
#   ...

# we also would like to incorporate some additional menu shortcuts

# \bind_file menus.bind         # English menu shortcut additions
\bind_file de_menus.bind        # German version 

# Customization
# =============

# Based on the default, you can now change part or all of it with the
# \bind command.

# Bugfix
# ------

# word-delete-forward deletes also non-word space behind the word!
# \bind "C-Delete"      "word-delete-forward"
\bind "C-Delete"        "command-sequence word-capitalize; delete-forward"

# ...

## New Layout Styles for Seminar
#
# Adapted for de_menus.bind. Users of English menus might want to bind
# M-p instead of M-a 
\bind "M-a f"           "layout LandscapeSlide"
\bind "M-a S-F"         "layout PortraitSlide"
\bind "M-a h"           "layout SlideHeading"
\bind "M-a S-H"         "layout SlideSubHeading"

Reply via email to