From d11cf73b01feb3fc559ca8790db70f468ab19b5e Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Sat, 16 Nov 2024 23:36:38 +0100 Subject: emacs: notes on shell commands --- src/tools/emacs.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/tools/emacs.md b/src/tools/emacs.md index 5dcd272..cad6fd8 100644 --- a/src/tools/emacs.md +++ b/src/tools/emacs.md @@ -333,4 +333,15 @@ supports `fido-vertical-mode` in case vertical mode is preferred. g Info-goto-node goto info node (by minibuf completion) Info-history open info history in buffer +``` + +## shell commands +```markdown + key fn description +--------------------------------------------- + M-! shell-command run shell command synchronously + M-& async-shell-command run shell command asynchronously + M-| shell-command-on-region run shell command on region; + prefix with C-u to replace region with + output of the command ``` \ No newline at end of file -- cgit v1.2.3