Skip to content

masasam/emacs-helm-tramp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

helm-tramp melpa badge melpa stable badge

Tramp with helm interface

Screenshot

M-x helm-tramp

helm-tramp1

Display server list from your ~/.ssh/config in helm interface

helm-tramp2

Filter by helm

helm-tramp3

You can connect your server with tramp

helm-tramp4

Selecting the list with sudo will lead to the server as root

helm-tramp5

You can edit your server's nginx.conf on your emacs!

helm-exit

When you finish editing nginx.conf you clean the tramp buffer with tramp-cleanup-all-buffers command.
Since I can not remember tramp-cleanup-all-buffers command I set a defalias called exit-tramp.

Requirements

  • Emacs 24 or higher
  • helm 1.7.7 or higher

Installation

You can install helm-tramp.el from MELPA with package.el (M-x package-install helm-tramp).

Sample Configuration

(setq tramp-default-method "ssh")
(defalias 'exit-tramp 'tramp-cleanup-all-buffers)
(define-key global-map (kbd "C-c s") 'helm-tramp)

If the shell of the server is zsh it is recommended to connect with bash.

(eval-after-load 'tramp '(setenv "SHELL" "/bin/bash"))