Arun Prakash Jana преди 5 години
родител
ревизия
eea1b5da7d
No known key found for this signature in database GPG Key ID: A75979F35C080412
променени са 4 файла, в които са добавени 8 реда и са изтрити 7 реда
  1. +2
    -2
      README.md
  2. +3
    -3
      nnn.1
  3. +2
    -2
      plugins/README.md
  4. +1
    -0
      src/nnn.c

+ 2
- 2
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). 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). 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`/`$EDITOR`/ vi. [Open detached](https://github.com/jarun/nnn/wiki/Basic-use-cases#text-file-in-new-panetabwindow) if you wish. 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#detached-text) if you wish.
4. [Install plugins](https://github.com/jarun/nnn/tree/master/plugins#installing-plugins). 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. 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`). 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`).
@@ -118,7 +118,7 @@ A curses library with wide char support (e.g. ncursesw), libreadline (optional)
| sshfs, [rclone](https://rclone.org/), fusermount(3)/umount (macOS) | optional | mount, unmount remotes | | sshfs, [rclone](https://rclone.org/), fusermount(3)/umount (macOS) | optional | mount, unmount remotes |
| trash-cli | optional | trash files (default action: rm) | | trash-cli | optional | trash files (default action: rm) |
| vlock (Linux), bashlock (macOS), lock(1) (BSD),<br>peaclock (Haiku) | optional | terminal locker (fallback: [cmatrix](https://github.com/abishekvashok/cmatrix)) | | vlock (Linux), bashlock (macOS), lock(1) (BSD),<br>peaclock (Haiku) | optional | terminal locker (fallback: [cmatrix](https://github.com/abishekvashok/cmatrix)) |
| advcpmv (Linux) ([integration](https://github.com/jarun/nnn/wiki/Advanced-use-cases#show-cp-mv-progress)) | optional | copy, move progress | | advcpmv (Linux) ([integration](https://github.com/jarun/nnn/wiki/Advanced-use-cases#cp-mv-progress)) | optional | copy, move progress |
| fortune | optional | random quotes in help screen | | fortune | optional | random quotes in help screen |
| `$VISUAL` (else `$EDITOR`), `$PAGER`, `$SHELL` | optional | fallback vi, less, sh | | `$VISUAL` (else `$EDITOR`), `$PAGER`, `$SHELL` | optional | fallback vi, less, sh |




+ 3
- 3
nnn.1 Целия файл

@@ -263,7 +263,7 @@ file from selection after you navigate away from its directory. Editing doesn't
end the selection mode. You can add more files to the selection and edit the end the selection mode. You can add more files to the selection and edit the
list again. If no file is selected in the current session, this option attempts list again. If no file is selected in the current session, this option attempts
to list the selection file. to list the selection file.
.Sh LIST FILES .Sh LIST INPUT
.Nm .Nm
can receive a list of files as input. The paths should be NUL-separated ('\\0') can receive a list of files as input. The paths should be NUL-separated ('\\0')
but doesn't need to be NUL-terminated. Paths and can be relative to the current but doesn't need to be NUL-terminated. Paths and can be relative to the current
@@ -354,8 +354,8 @@ separated by \fI;\fR:
Key:Command | Description Key:Command | Description
----------------------------------- + ------------------------------------------------- ----------------------------------- + -------------------------------------------------
k:-_fuser -kiv $nnn* | Interactively kill process(es) using hovered file k:-_fuser -kiv $nnn* | Interactively kill process(es) using hovered file
g:-_git diff* | Show git diff g:-_git diff | Show git diff
l:-_git log* | Show git log l:-_git log | Show git log
n:-_vi /home/user/Dropbox/dir/note* | Take quick notes in a synced file/dir of notes n:-_vi /home/user/Dropbox/dir/note* | Take quick notes in a synced file/dir of notes
p:-_less -iR $nnn* | Page through hovered file in less p:-_less -iR $nnn* | Page through hovered file in less
s:-_|smplayer -minigui $nnn | Play hovered media file, even unfinished download s:-_|smplayer -minigui $nnn | Play hovered media file, even unfinished download


+ 2
- 2
plugins/README.md Целия файл

@@ -133,8 +133,8 @@ Notes:
| Key:Command | Description | | Key:Command | Description |
|---|---| |---|---|
| `k:-_fuser -kiv $nnn*` | Interactively kill process(es) using hovered file | | `k:-_fuser -kiv $nnn*` | Interactively kill process(es) using hovered file |
| `g:-_git diff*` | Show git diff | | `g:-_git diff` | Show git diff |
| `l:-_git log*` | Show git log | | `l:-_git log` | Show git log |
| `n:-_vi /home/user/Dropbox/dir/note*` | Take quick notes in a synced file/dir of notes | | `n:-_vi /home/user/Dropbox/dir/note*` | Take quick notes in a synced file/dir of notes |
| `p:-_less -iR $nnn*` | Page through hovered file in less | | `p:-_less -iR $nnn*` | Page through hovered file in less |
| `s:-_\|smplayer -minigui $nnn` | Play hovered media file, even unfinished download | | `s:-_\|smplayer -minigui $nnn` | Play hovered media file, even unfinished download |


+ 1
- 0
src/nnn.c Целия файл

@@ -6198,6 +6198,7 @@ nochange:


setenv(envs[ENV_NCUR], (ndents ? dents[cur].name : ""), 1); setenv(envs[ENV_NCUR], (ndents ? dents[cur].name : ""), 1);
spawn(shell, NULL, NULL, path, F_CLI); spawn(shell, NULL, NULL, path, F_CLI);
r = TRUE;
break; break;
case SEL_LAUNCH: case SEL_LAUNCH:
launch_app(path, newpath); launch_app(path, newpath);


||||||
x
 
000:0
Loading…
Отказ
Запис