Skip to main content
tag
Source Link
Dan
  • 33.4k
  • 7
  • 106
  • 171

How do I get the output of (shell-command "df")(shell-command "df") (or some other more complex command, that I don't want to retype often) in the current buffer?

I run it by typing C-c pC-c p after it, but then it opens another buffer and sends the output there.

How do I get the output of (shell-command "df") (or some other more complex command, that I don't want to retype often) in the current buffer?

I run it typing C-c p after it, but then it opens another buffer and sends the output there.

How do I get the output of (shell-command "df") (or some other more complex command, that I don't want to retype often) in the current buffer?

I run it by typing C-c p after it, but then it opens another buffer and sends the output there.

Source Link
Yiang Xin
  • 129
  • 1
  • 3

Get output of external command in the buffer

How do I get the output of (shell-command "df") (or some other more complex command, that I don't want to retype often) in the current buffer?

I run it typing C-c p after it, but then it opens another buffer and sends the output there.