diff options
author | lvgx <l@vgx.fr> | 2020-03-11 04:39:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-11 09:09:57 +0530 |
commit | c9a17d80be4f14ce22273532372028f7861bd74a (patch) | |
tree | 2a10b3732cbc20bd5e22c12b5354cea6bb675795 /nnn.1 | |
parent | 3a9ddbd90fdb349cc451d6fef8219e2487e942c3 (diff) | |
download | nnn-c9a17d80be4f14ce22273532372028f7861bd74a.tar.gz |
Add middle click copy (#491)
* Add middle click copy
* Make middle click action configurable
This introduces the NNN_MIDDLECLICK environment variable, containing the
key that middle mouse click emulates. Only the first character is read.
* Document NNN_MIDDLECLICK in nnn.1
* Use NNN_MCLICK instead of NNN_MIDDLECLICK
* Add '^key' syntax to set middle click to Ctrl+Key
Diffstat (limited to 'nnn.1')
-rw-r--r-- | nnn.1 | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -375,6 +375,18 @@ separated by \fI;\fR: export NNN_TRASH=1 .Ed .Pp +\fBNNN_MCLICK:\fR key emulated by a middle mouse click. +.Bd -literal + export NNN_MCLICK='p' + + NOTES: + 1. You can use the '^\fIkey\fR' syntax to assign it to a \fICtrl+key\fR combo, e.g.: + + export NNN_MCLICK='^A' + + 2. Otherwise, only the first character is taken into account. +.Ed +.Pp \fBnnn:\fR this is a special variable set to the hovered entry before executing a command from the command prompt or spawning a shell. .Sh KNOWN ISSUES |