blob: 0cc3454500c65e6d01c0eee4792356d71d775262 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
* Introduction
=nspawn-tramp= adds support for =systemd-nspawn= containers with Emacs’
TRAMP system.
* Installation
This package is not yet available on the various package sites
** Direct download
Download this repository to some location, then add the following to
your Emacs initialization:
#+begin_src elisp
(add-to-list 'load-path "/path/to/nspawn-tramp")
(require 'nspawn-tramp)
#+end_src
* Usage
Call ~nspawn-tramp-setup~ to add support:
#+begin_src elisp
(add-hook 'after-init-hook 'nspawn-tramp-setup)
#+end_src
Use TRAMP as normal to access files on a container:
#+begin_example
C-x C-f /nspawn:user@container:/path/to/file
#+end_example
|