Giter Site home page Giter Site logo

Bind ⌘R to Send button about desktop HOT 3 CLOSED

httpie avatar httpie commented on August 15, 2024
Bind ⌘R to Send button

from desktop.

Comments (3)

wlkns avatar wlkns commented on August 15, 2024

Bump. This issue is also affecting me and another. You naturally expect ⌘R to resend/refresh the request but instead the entire window reloads.

from desktop.

wlkns avatar wlkns commented on August 15, 2024

@ctessmer I've got an interim solution for you and perhaps others with this issue... muscle memory means it became a repeated issue for me and I was about to ditch Httpie...

Toggle developer tools (View menu at top)

In the console, enter the following β€”

window.addEventListener("keydown", (e) => {
  if ( ["s", "r"].includes(e.key) && e.metaKey ) {
    e.preventDefault();
    document.querySelector('[data-testid="url-bar-submit"]').click()
  }
})

This will intercept and Cmd+S or Cmd+R and click the send button, so should be compatible with updates etc.

from desktop.

jkbrzt avatar jkbrzt commented on August 15, 2024

🚒 Shipped in v2024.1.1 β†’

from desktop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.