I'd like to close all Tramp buffers in one fell swoop. Is it possible to narrow on Tramp buffers only when invoking helm-buffers-list? I've tried various suggestions offered in Helm Help, but cannot narrow in on all Tramp buffers only.


Not using helm, but there is M-x tramp-cleanup-all-buffers. It closes all remote buffers, including the hidden connection buffers.

| improve this answer | |
  • That works, thanks. Do you have M-x tramp-cleanup-all-buffers bound to any keys? – Julien Chastang Sep 13 '16 at 18:01
  • No, none of the Tramp commands is bound to any key. – Michael Albinus Sep 13 '16 at 18:06

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.