feat(file-manager): handle the wheel, double clicks and right clicks
The panel only reacted to a left click on a row, so every other gesture was keyboard-only: the wheel did nothing, a double click did not open the entry and there was no way to reach the actions from the pointer. The wheel now steps the selection by three rows without leaking the event to the hosting terminal, a second click on the same row within kitty's click interval runs the primary action, and a right click opens the action palette on the clicked row. Fixes #47
This commit is contained in:
4 files changed
+112
-2
No files matched your search
@@ -263,6 +263,11 @@ Detailed list of changes
|
||||
:kbd:`kitty_mod+H` is pressed. The panel can also be started with
|
||||
:code:`kitty +kitten help`.
|
||||
|
||||
- The :doc:`file manager <kittens/file-manager>` can now be browsed with the
|
||||
mouse: the wheel scrolls the list, a double click opens the entry under the
|
||||
pointer like :kbd:`Enter` and a right click opens the action palette on the
|
||||
clicked row.
|
||||
|
||||
- The in-place scrollback search got a usable default shortcut: it was bound
|
||||
to :kbd:`kitty_mod+shift+f`, the same physical key as :ac:`move_window_forward`
|
||||
(which allows the shifted fallback), so the last definition won and the search
|
||||
|
||||
@@ -161,6 +161,16 @@ pas soumise.
|
||||
synchronisation reste inerte.
|
||||
|
||||
|
||||
Souris
|
||||
------
|
||||
|
||||
Le panneau se pilote aussi à la souris. La molette parcourt la liste par pas de
|
||||
trois lignes, sans transmettre l'événement au terminal qui héberge le dock. Un
|
||||
double-clic ouvre l'entrée sous le pointeur, comme :kbd:`Entrée` : un répertoire
|
||||
est parcouru, un fichier est confié à l'éditeur. Un clic droit ouvre la palette
|
||||
d'actions sur la ligne cliquée, identique au raccourci :kbd:`:`.
|
||||
|
||||
|
||||
.. _file-manager-shortcuts:
|
||||
|
||||
Raccourcis et configuration
|
||||
|
||||
Reference in new issue
Block a user