File path to clipboard in Emacs

前端 未结 7 1029
闹比i
闹比i 2021-01-31 02:40

What is the most simple way to send current full file name with file path to clipboard?

What I am using now is messages buffer: I copy file name that appears there after

7条回答
  •  耶瑟儿~
    2021-01-31 03:15

    To paste the current file path in the buffer, the most simple way I see is to do: C-u M-! pwd (this might not work on Windows systems though).

    Alternatively, you can use C-x C-b to show the file paths of all opened buffers.

提交回复
热议问题