5

I recently started using Helm with the configuration below

(require 'helm-config)
(helm-mode 1)
(define-key global-map [remap occur] 'helm-occur)
(define-key global-map [remap list-buffers] 'helm-buffers-list)
(define-key global-map [remap dabbrev-expand] 'helm-dabbrev)
(global-set-key (kbd "M-x") 'helm-M-x)
(setq helm-M-x-fuzzy-match t)

Today I figured out that Tramp mode doesn't work anymore. When I try to open a file with C-x C-f and enter /sudo:root@TAB nothing happens. Usually I'd expect that localhost is substituted and tramp asks for a password.

How can I have a still functional tramp mode plus a working Helm?

  • 1
    Isn't root and localhost default for /sudo? I think /sudo:: should work. – PythonNut Feb 3 '16 at 5:25
  • Yeah, but this doesn't work either. – Jens Kubieziel Feb 3 '16 at 7:53
4

the way it works for me is the following:

  1. call helm-find-files (usually C-xC-f)
  2. write /scp:
  3. if you have used tramp before you get a list with previous locations which you can select with C-j (or type a new remote by hand), pressing now C-j a second time or typing a : will connect you to the remote server
  4. now helm completion on the remote starts, type / if you want to be located in the root directory or ~, if you want to access your home directory

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.