feat(upload): add commands for manual/temporary mappings

Close: #8529
Co-authored-by: stfl <stfl@users.noreply.github.com>
This commit is contained in:
Henrik Lissner
2025-09-25 15:55:29 -04:00
parent db33b94cf1
commit b7d9c1801d
2 changed files with 52 additions and 1 deletions

View File

@@ -40,7 +40,7 @@ Uses ~ssh-deploy~ to map a local folder to a remote one.
/This module has no external requirements./
* Usage
There are two ways to map a local directory to a remote one:
There are three ways to map a local directory to a remote one:
1. With a =.dir-locals.el= file at the root of your project/directory. E.g.
#+begin_src emacs-lisp
@@ -64,6 +64,9 @@ There are two ways to map a local directory to a remote one:
;; End:
#+end_src
3. Manually, on a per-buffer basis, with the ~M-x +upload/register-remote~
command. Use ~M-x +upload/unregister-all-remotes~ to undo all manual remotes.
#+begin_quote
󰐃 ~ssh-deploy-root-local~ is optional, and will resort to ~doom-project-root~ if
unspecified.