Use Emacs+plink to edit remote files under Windows

Source: Internet
Author: User

1) Plink.exe belongs to the Putty Kit, registered to the environment variable; the bin directory of Emacs is also registered in the environment variable;

2) Add the following in. Emacs:

(Require ' tramp)
(setq tramp-default-method "Plink"); This eliminates the need to enter/plink after C-x c-f in the Minibuffer of Emacs:
(byte-compile-file "E:/tools/emacs-24.3/lisp/net/tramp-sh.el");; Avoid error: couldn ' t find proper ' ls ' command

3) Open the console and enter Emacs to open the editor (note that if you double-click Emacs.exe the Plink command will not be found), then enter:

C-x c-f/[email protected]_ip:directory

Enter the password to open the remote directory.

Use Emacs+plink to edit remote files under Windows

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.