Máté Salát wrote:
Rich,
Actually I've specified the hotkey Ctrl+8 but I haven't specified the others
like Ctrl+1, Crtl+2, ...
But as I said the reaction of LyX even for Ctrl+1 and Ctrl+8 is the same "Command
disabled" text.
Anyway, I use WinXP and LyX 1.6.0beta4 (Fri, Jul 11, 2008). If I want to specify a new hotkey I use the
Shortcut Configuration dialog (http://wiki.lyx.org/LyX/NewInLyX16#toc20). The hotkeys made here by the user
are stored in "C:\Documents and Settings\username\Application Data\lyx16\bind\user.bind". For
example one line in it is: \bind "C-8" "math-delim ( )"
The issue may be that these are already declared, here:
#
# bookmarks
#
\bind "C-~S-1" "bookmark-goto 1"
\bind "C-~S-2" "bookmark-goto 2"
\bind "C-~S-3" "bookmark-goto 3"
\bind "C-~S-4" "bookmark-goto 4"
\bind "C-~S-5" "bookmark-goto 5"
\bind "C-~S-6" "bookmark-goto 6"
\bind "C-~S-7" "bookmark-goto 7"
\bind "C-~S-8" "bookmark-goto 8"
\bind "C-~S-9" "bookmark-goto 9"
\bind "C-M-~S-1" "bookmark-save 1"
\bind "C-M-~S-2" "bookmark-save 2"
\bind "C-M-~S-3" "bookmark-save 3"
\bind "C-M-~S-4" "bookmark-save 4"
\bind "C-M-~S-5" "bookmark-save 5"
\bind "C-M-~S-6" "bookmark-save 6"
\bind "C-M-~S-7" "bookmark-save 7"
\bind "C-M-~S-8" "bookmark-save 8"
\bind "C-M-~S-9" "bookmark-save 9"
The ~S thing means to ignore shift state. So you're getting the disabled
thing because the bookmark doesn't exist.
If you want, you could redefine these to require shift:
\bind "C-S-1" "bookmark-goto 1"
and then define C-1 etc as you wish.
rh