]> Sergey Matveev's repositories - nnn.git/commitdiff
Update docs
authorArun Prakash Jana <engineerarun@gmail.com>
Wed, 25 Mar 2020 06:17:30 +0000 (11:47 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Wed, 25 Mar 2020 06:17:30 +0000 (11:47 +0530)
README.md
src/nnn.c

index d25b367e19eb300c4a0eb5eda56964a189299249..0b49a961f658750ef24cef1374b9a0764dce1b59 100644 (file)
--- 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`).
index f5e1d415f0f409481b84eeb69090806894d68ab9..b1e0498f506c21dbc46c5f06eb0b934794ed970e 100644 (file)
--- 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"