mirror of
https://github.com/jarun/nnn.git
synced 2024-11-27 13:21:29 +00:00
Updated Basic use cases (markdown)
parent
a87457af38
commit
5c894b383c
|
@ -265,11 +265,11 @@ mocp -a $(nnn -p -)
|
||||||
|
|
||||||
## Remote mounts
|
## Remote mounts
|
||||||
|
|
||||||
`nnn` integrates with SSHFS and rclone to support remote mounts. The mountpoints (for remotes as well as archives) are created within:
|
`nnn` integrates with SSHFS and rclone to support remote mounts. The mount points (for remotes as well as archives) are created within:
|
||||||
|
|
||||||
${XDG_CONFIG_HOME:-$HOME/.config}/nnn/mounts
|
${XDG_CONFIG_HOME:-$HOME/.config}/nnn/mounts
|
||||||
|
|
||||||
Upon successful unmount, the mountpoints are removed.
|
Upon successful unmount, the mount points are removed.
|
||||||
|
|
||||||
#### SSHFS
|
#### SSHFS
|
||||||
|
|
||||||
|
@ -321,12 +321,12 @@ Tip: To list all the remotes in the rclone config file: `rclone listremotes`
|
||||||
|
|
||||||
The unmount option (which also unmounts mounted archives BTW) works in 2 ways:
|
The unmount option (which also unmounts mounted archives BTW) works in 2 ways:
|
||||||
|
|
||||||
1. hover on the mountpoint, press <kbd>u</kbd> (this works for both remotes and archives)
|
1. hover on the mount point, press <kbd>u</kbd> (this works for both remotes and archives)
|
||||||
2. if the current entry is not a mount point, `nnn` prompts for the remote host name
|
2. if the current entry is not a mount point, `nnn` prompts for the remote host name
|
||||||
|
|
||||||
Notes:
|
Notes:
|
||||||
|
|
||||||
1. `nnn` takes you to the mount point after successful mounts. To jump back to the last directory, press the usual <kbd>-</kbd>.
|
1. `nnn` opens the mount point in a smart context after successful mounts.
|
||||||
2. More information on [SSHFS](https://wiki.archlinux.org/index.php/SSHFS).
|
2. More information on [SSHFS](https://wiki.archlinux.org/index.php/SSHFS).
|
||||||
|
|
||||||
## Synced quick notes
|
## Synced quick notes
|
||||||
|
|
Loading…
Reference in a new issue