Configurable Hotkey for Web Viewer Reload

Feature Request: Configurable Hotkey for Web Viewer Reload

Use Case / Problem
Although the Web Viewer plugin already includes a reload button, users must manually click it to refresh web content. This manual process interrupts workflow—especially when dealing with frequently updating or dynamic content—and forces reliance on the mouse. A hotkey for the reload action would enable users to refresh the Web Viewer quickly from the keyboard, preserving both speed and interface state.

Proposed Solution
Introduce an option in the Web Viewer plugin settings to assign a custom hotkey for the reload action. The ideal implementation would:

  • Allow users to configure their preferred key combination via Obsidian’s Hotkeys settings.
  • Bind the hotkey to trigger the same function currently executed by the reload button (for example, a method that reloads the current web page within the pane).

Benefits

  • Efficiency: Users can quickly update the web content without breaking their typing flow or switching to the mouse.
  • User Experience: A configurable hotkey means the feature can integrate seamlessly into a user’s existing shortcut scheme.

Additional Context
Many users have already implemented custom solutions (using Templater snippets or user plugins) to reload active views via hotkeys. Extending that functionality to the Web Viewer would create a more unified and fluid experience. It would also allow users to keep using the Web Viewer in scenarios where external changes occur and an immediate refresh is desirable—all without leaving the keyboard.

1 Like