We are testing out hotkeys on the main SuttaCentral.net website. They are only minimally documented on the site so far but testing and feedback is most welcome. As with all new changes, you may need to do a ctrl/cmd + shift + R to see the changes. Here is what we have so far:
key
function
s
Open the top search bar and place cursor ready to search
v
toggle through three view states for aligned texts (plain/side by side/line by line)
n
toggle through notes view (on asterisk/side notes/none)
Please give them a try and tell us what you think. Note: these are just single keys, no need for Alt/Ctrl/Cmd. So they shouldnāt interfere with other shortcuts you may be using.
For now they are hinted at in the view menu if you forget:
Maybe notā¦ All the other things are very temporary already. Like, you arenāt going to use the site with the settings panel open. But the Pali lookup is something I would imagine someone might keep open as they read. But I donāt actually use it much so I canāt really say.
I canāt think of anything else right that would help me when reading individual suttas. For me, the main other issues have to do with searching and navigation - which are difficult problems that I know you are working on.
But honestly I am not set on that. Iām doubting people toggle that very often. We could use b for that if we really wanted it.
We are already using s for search. I think t would be good for PTS refs. @Khemarato.bhikkhu, what do you think?
I had no idea about this. Itās curious that I donāt see any attempt to tell people about the shortcuts or the ?.
I like ? for this. Itās used on GitHub as well. I had been thinking k but ? makes a bit more sense.
Another interesting observation is that I donāt think I have ever accidentally triggered any of those shortcuts on D&D, which indicates to me that having single keypress shortcuts works well.
As a related aside, because the s hotkey will be popular, I wonder about this conundrum: When you go into search mode, unless you know to look for the small greyed-out x at the far right bottom of the search box, you will think thereās no way to get back to whatever sutta you are searching from. Until youāve done it once, thereās an impression that thereās no way to get back.