Pasting text into emacs on Macintosh

前端 未结 2 1743
梦毁少年i
梦毁少年i 2021-02-04 12:33

I\'m on a Macintosh and am using \"terminal\" for my shell. When I copy text from any window (via mouse drag then right mouse button menu -> copy) and then I paste the text (ri

2条回答
  •  感动是毒
    2021-02-04 12:43

    For a quick and dirty solution which doesn't require configuring custom commands, you can run shell-command with a prefix argument to insert the results of calling pbpaste into the current buffer.

    Thus:

    C-u M-! pbpaste 
    

提交回复
热议问题