Updated Advanced use cases (markdown)

John Doe 2020-03-31 00:34:42 +05:30
parent dffbe50ff1
commit 2103a0dd0a

@ -134,7 +134,9 @@ Use the relevant program option to show the progress of the operations.
You can control `nnn`'s active directory from a plugin. Find the instructions [here](https://github.com/jarun/nnn/tree/master/plugins#controlling-nnns-active-directory). You can control `nnn`'s active directory from a plugin. Find the instructions [here](https://github.com/jarun/nnn/tree/master/plugins#controlling-nnns-active-directory).
## Copy to Termux clipboard ## Termux tips
#### Copy to clipboard
- Install the [Termux:API](https://play.google.com/store/apps/details?id=com.termux.api) app from Google Play - Install the [Termux:API](https://play.google.com/store/apps/details?id=com.termux.api) app from Google Play
- On Android 7 you have to "protect" Termux:API by going into the settings / protected apps menu otherwise calls to the API like termux-battery-status will hang forever - On Android 7 you have to "protect" Termux:API by going into the settings / protected apps menu otherwise calls to the API like termux-battery-status will hang forever
@ -149,6 +151,10 @@ You can control `nnn`'s active directory from a plugin. Find the instructions [h
export NNN_COPIER="/path/to/copier" export NNN_COPIER="/path/to/copier"
#### Access internal and external storage
Official [instructions](https://wiki.termux.com/wiki/Internal_and_external_storage).
## Pager as opener ## Pager as opener
**Note: This is severe abuse of your pager, but it makes your life richer.** **Note: This is severe abuse of your pager, but it makes your life richer.**
@ -195,7 +201,7 @@ Note that you might want to install the following packages:
In the future that `lesspipe.sh` link might change to using `atool` rather than these separate archive handlers. In the future that `lesspipe.sh` link might change to using `atool` rather than these separate archive handlers.
## Remote transfers with lftp ## Working with lftp
Broadly speaking, any terminal utility can be integrated with `nnn` easily. For remote file transfers, `lftp` is the preferred tool. Let's discuss how the workflow can be simplified with `nnn`'s capabilities and `lftp` combined together. Broadly speaking, any terminal utility can be integrated with `nnn` easily. For remote file transfers, `lftp` is the preferred tool. Let's discuss how the workflow can be simplified with `nnn`'s capabilities and `lftp` combined together.