Keyboard shortcut for Info/Notes/Tags/Related
Hello,
I am running key config, e.g. to bind a keyboard shortcut to "retrieve metadata", or "create parent item". I found the relevant commands here
https://github.com/zotero/zotero/blob/master/chrome/content/zotero/zoteroPane.xul
It is possible to switch between Info/Notes/Tags/Related in the right panel in the same way? I often want to switch between these, and it would be nice to be able to do this without clicking.
Also see here:
https://forums.zotero.org/discussion/36490/keyboard-shortcut-for-edit-title/#Item_7
Thanks!
(PS. What would be super nice would be to just have anything that can be bound to a key in zutilo - that suggestion was made elsewhere already. I guess that's a question for the Zutilo maintainer...)
I am running key config, e.g. to bind a keyboard shortcut to "retrieve metadata", or "create parent item". I found the relevant commands here
https://github.com/zotero/zotero/blob/master/chrome/content/zotero/zoteroPane.xul
It is possible to switch between Info/Notes/Tags/Related in the right panel in the same way? I often want to switch between these, and it would be nice to be able to do this without clicking.
Also see here:
https://forums.zotero.org/discussion/36490/keyboard-shortcut-for-edit-title/#Item_7
Thanks!
(PS. What would be super nice would be to just have anything that can be bound to a key in zutilo - that suggestion was made elsewhere already. I guess that's a question for the Zutilo maintainer...)
To switch panes on OS X, Tab into the right pane and then use Ctrl+PgDn/PgUp (Fn+Ctrl+up/down-arrow on a MacBook or wireless keyboard) to cycle between the tabs. That's the same shortcut as for Firefox/Chrome tabs (though Safari uses something different).
However, we should possibly make the Tab cycle include the active tab and then allow left/right-arrow to navigate between them, which is the case in the Advanced pane of the Firefox preferences.
Yes, left/right-arrow in that way would be great. (Fn key is a bit awkwardly positioned on Mac.)
Bjoern
(I've edited my post above to correct this.)
document.getElementById('zotero-view-tabbox').tabs.advanceSelectedTab(1,true);
to cycle through tabs (-1 if you want to cycle backwards)Edit: and if you want to assign a shortcut to a specific tab use
.selectedIndex = 0
instead of .advanceSelectedTab... where the number is the index of the tab (0 based)I've written up all I know about about navigation between panes here:
http://www.sciencemedianetwork.org/wiki/Zotero/better_navigation_between_panes
Some navigation is also possible with keyconfig + zutilo (e.g. moving to info and tabs pane within the right hand pane).
I am wondering how hard it would be to have a preference pane in Zotero, that simply listed all Zotero functions that can be bound to keys? (And do the same in Zutilo, as Zutilo defines extra functions.) Surely this can't be that hard? I know it may not be a priority, but there are various threads about this.
Keyconfig is not that intuitive to use, and it seems to be quite old. The other key configuration extension suggested doesn't work in Zotero stand alone for me. So it would be really good if we more functions were exposed through the preferences.
Bjoern
Bjoern
do you happen to know the id for the middle pane? Would a similar technique work for focus on that pane?
Bjoern
You probably want "zotero-items-tree" https://github.com/zotero/zotero/blob/4.0/chrome/content/zotero/zoteroPane.xul#L342