From 2103a0dd0ad8a203abea0d249da2be2f14596124 Mon Sep 17 00:00:00 2001 From: John Doe Date: Tue, 31 Mar 2020 00:34:42 +0530 Subject: [PATCH] Updated Advanced use cases (markdown) --- Advanced-use-cases.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Advanced-use-cases.md b/Advanced-use-cases.md index a878265..bcf92d4 100644 --- a/Advanced-use-cases.md +++ b/Advanced-use-cases.md @@ -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). -## 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 - 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" +#### Access internal and external storage + +Official [instructions](https://wiki.termux.com/wiki/Internal_and_external_storage). + ## Pager as opener **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. -## 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.