mirror of
https://github.com/jarun/nnn.git
synced 2025-01-08 09:01:11 +00:00
Add example to copy image to clipboard (#1199)
This commit is contained in:
parent
4dc70f4a3f
commit
acfec62a13
8
nnn.1
8
nnn.1
|
@ -416,9 +416,11 @@ separated by \fI;\fR:
|
|||
export NNN_PLUG='m:-!|mediainfo $nnn;t:-!|tree -ps;l:-!|ls -lah --group-directories-first'
|
||||
|
||||
EXAMPLES:
|
||||
----------------------------------- + -------------------------------------------------
|
||||
------------------------------------ + -------------------------------------------------
|
||||
Key:Command | Description
|
||||
----------------------------------- + -------------------------------------------------
|
||||
------------------------------------ + -------------------------------------------------
|
||||
c:!convert $nnn png:- | xclip -sel \ | Copy image to clipboard
|
||||
clipboard -t image/png* |
|
||||
e:-!sudo -E vim $nnn* | Edit file as root in vim
|
||||
g:-!git diff | Show git diff
|
||||
h:-!hx $nnn* | Open hovered file in hx hex editor
|
||||
|
@ -429,7 +431,7 @@ separated by \fI;\fR:
|
|||
s:-!&smplayer -minigui $nnn | Play hovered media file, even unfinished download
|
||||
x:!chmod +x $nnn | Make the hovered file executable
|
||||
y:-!sync* | Flush cached writes
|
||||
----------------------------------- + -------------------------------------------------
|
||||
------------------------------------ + -------------------------------------------------
|
||||
|
||||
Online docs: https://github.com/jarun/nnn/tree/master/plugins
|
||||
.Ed
|
||||
|
|
|
@ -187,6 +187,7 @@ Notes:
|
|||
|
||||
| Key:Command | Description |
|
||||
|---|---|
|
||||
| `c:!convert $nnn png:- | xclip -sel clipboard -t image/png*` | Copy image to clipboard |
|
||||
| `e:-!sudo -E vim $nnn*` | Edit file as root in vim |
|
||||
| `g:-!git diff` | Show git diff |
|
||||
| `h:-!hx $nnn*` | Open hovered file in [hx](https://github.com/krpors/hx) hex editor |
|
||||
|
|
Loading…
Reference in a new issue