For additional smarts I save this per file. (It won't go in Filename to let different people be looking in different areas.)
ZSEVZU26G4XULEZANPS4SXATG7GEYJEELRKHVRX27QPRLTXXG5TAC
Settings = {}
on.save_settings = function()
-- save viewport by filename
Settings[Filename] = {viewport=Viewport}
return Settings
end
on.load_settings = function(settings)
Settings = settings
-- we don't know the Filename yet, so do nothing else
end