When opening a file in read-only mode with "-r", it can be made writable via the menu "Documents" -> uncheck "read only". Unfortunately, there seem to way to assign a shortcut to this. In the shortcut editor, "Documents" has not "read only" option to select.