Dear all,

If I try to change the  View>pdf(pdfLaTex), View>pdf(XeTeX), and View>pdf
(LuaTeX) shortcuts to, respectively, Ctrl-1, Ctrl-2, Ctrl-3, I always get a
"command disabled" notice in the minibuffer when using them, whereas
selecting the commands from the menu works fine. Looking at the debug output
in the console, it looks like lyx still reads ctrl-3 (e.g.) as
goto-bookmark-3:

GuiWorkArea.cpp(853):  count: 1 text: isAutoRepeat: 0 key: 51
GuiKeySymbol.cpp(621): Getting key 51, with text '
GuiKeySymbol.cpp(627): Setting key to 51,
uiKeySymbol.cpp(642): isOK is 1
LyXFunc.cpp(300): KeySym is 3
GuiKeySymbol.cpp(642): isOK is 1
GuiKeySymbol.cpp(650): isModifier is 0
LyXFunc.cpp(327): action first set to [bookmark-goto]
LyXFunc.cpp(335): action now set to [bookmark-goto]
LyXFunc.cpp(346):  Key [action=bookmark-goto][Ctrl+3]
GuiWorkArea.cpp(853):  count: 1 text:  isAutoRepeat: 0 key: 16777249
GuiKeySymbol.cpp(621): Getting key 16777249, with text ''
GuiKeySymbol.cpp(627): Setting key to 16777249,
GuiKeySymbol.cpp(642): isOK is 1
LyXFunc.cpp(300): KeySym is Control_L
GuiKeySymbol.cpp(642): isOK is 1
GuiKeySymbol.cpp(650): isModifier is 1
LyXFunc.cpp(310): isModifier true


even though my ~/.lyx/bind/user.bind file says:

\unbind "C-2" "bookmark-goto 2"
\unbind "C-3" "bookmark-goto 3"
\unbind "C-1" "bookmark-goto 1"

\bind "C-2" "buffer-view pdf4"
\bind "C-3" "buffer-view pdf5"
\bind "C-1" "buffer-view pdf2"


How can I get rid of the old bindings?

Cheers,

Stefano

Reply via email to