From dc08354b0f04ca0c8ffea233b9a709944ad497c7 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Wed, 25 Mar 2020 11:47:30 +0530 Subject: Update docs --- README.md | 2 +- src/nnn.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d25b367..0b49a96 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ It runs smoothly on the Pi, [Termux](https://www.youtube.com/watch?v=AbaauM7gUJw 1. Install optional [deps](https://github.com/jarun/nnn#utility-dependencies) (if you need any). 2. Configure [cd on quit](https://github.com/jarun/nnn/wiki/Basic-use-cases#configure-cd-on-quit). -3. Use option `-e` in your alias to open text files in `$VISUAL` (else `$EDITOR`, fallback vi). +3. Use option `-e` in your alias to open text files in `$VISUAL`/`$EDITOR`/ vi. [Open detached](https://github.com/jarun/nnn/wiki/Basic-use-cases#text-file-in-new-tabwindow) if you wish. 4. [Install plugins](https://github.com/jarun/nnn/tree/master/plugins#installing-plugins). 5. Use option `-x` to copy selected file paths to system clipboard and show notis on cp, mv, rm completion. 6. For a CLI-only environment, customize and use plugin [`nuke`](https://github.com/jarun/nnn/blob/master/plugins/nuke) with option `-c` (overrides `-e`). diff --git a/src/nnn.c b/src/nnn.c index f5e1d41..b1e0498 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -6517,7 +6517,7 @@ static void usage(void) " -b key open bookmark key\n" " -c cli-only opener (overrides -e)\n" " -d detail mode\n" - " -e text in $VISUAL ($EDITOR/vi)\n" + " -e text in $VISUAL/$EDITOR/vi\n" " -E use EDITOR for undetached edits\n" #ifndef NORL " -f use readline history file\n" -- cgit v1.2.3-70-g09d2