diff --git a/layers/restclient/README.org b/layers/restclient/README.org index dbada8c7a..9ba365308 100644 --- a/layers/restclient/README.org +++ b/layers/restclient/README.org @@ -26,4 +26,5 @@ file. | ~SPC m S~ | Send and switch window (pretty-print response if possible) | | ~SPC m r~ | Send and stay in window (do not attempt to pretty-print) | | ~SPC m R~ | Send and switch window (do not attempt to pretty-print) | +| ~SPC m y~ | Copy query under the cursor as a curl command | diff --git a/layers/restclient/packages.el b/layers/restclient/packages.el index ee53a08d5..f2b7aa14d 100644 --- a/layers/restclient/packages.el +++ b/layers/restclient/packages.el @@ -20,6 +20,7 @@ "S" 'restclient-http-send-current "r" 'restclient-http-send-current-raw-stay-in-window "R" 'restclient-http-send-current-raw + "y" 'restclient-copy-curl-command )) ) )