Shawn,

After adding 

    \bind "C-x c"                        "word-capitalize"
    \bind "C-x l"                        "word-lowcase"
    \bind "C-x u"                        "word-upcase"
    \bind "M-u"                          "word-upcase"

to ~/.lyx/bind/emacs.bind, find the line in that file 

    # \bind "C-x c"                      "lyx-quit"

and add the # comment character before the line so it does not
override the `C-x c' mapping for word-capitalize.

Then, make sure that LyX is using the emacs.bind file for
key-bindings.  In the version I use (lyx-1.1.5fix2), that is done with
a line in ~/.lyx/lyxrc

        \bind_file emacs

Later versions of LyX may require the key-binding configuration
elsewhere.  Once you've told LyX to use the emacs.bind key-bindings,
restart LyX, put the cursor before a word, and you should find that
`C-x c' (Control-x followed by c) will capitalize the word, `C-x l'
will lowercase the word, and `C-x u' will uppercase the word.

One caution: these commands do not work as well as the corresponding
commands in [x]emacs.  In xemacs, you can put the cursor before a
space, give an upcase|capitalize|downcase command, and the word
following the space will be modified.  In LyX, the cursor must be
immediately before the first letter of the word for the commands to
work. 

-- 

Ronald Florence                 http://members.home.net/18james

Reply via email to