简体   繁体   中英

How can I edit or insert a local file when using Tramp on Emacs?

I've been using Centos 7 Emacs Tramp mode to edit files remotely, but I can't find how to insert a local file into a remote file. I tried opening the local file first, but I think there must be a better way to do this. Thanks for your help.

使用流浪汉打开远程文件,然后从流浪汉缓冲区中执行Mx insert-file ,并确保该路径是本地路径(例如,“ / foo / bar”而不是“ / ssh:user @ host:/ foo / bar”)。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM