Add mouse support for selecting and opening files (#963)

* Add mouse support for selecting and opening files

Left click to select, right click to open, similar to ranger.
Closes #919.

* Add default mouse wheel mappings

* Update tcell to d3cbfcf

Commit d3cbfcf fixes a bug where mouse wheel events were misdelivered as
button events.
This commit is contained in:
Paul Ouellette authored and GitHub committed 2022-10-19 18:57:44 +03:00
1 parent 8e919b8268
commit a94015d221
9 files changed
+166 -42

No files matched your search

+12
View File
@@ -219,6 +219,18 @@ The following additional keybindings are provided by default:
map gh cd ~
map <space> :toggle; down
If the 'mouse' option is enabled, mouse buttons have the following default
effects:
Left mouse button
Click on a file or directory to select it. To open a file, click on the preview.
Right mouse button
Enter a directory or open a file.
Scroll wheel
Scroll up or down.
# Configuration
Configuration files should be located at: