hop project-a/ project-b/ project-a/src/main.rs
In the example above, hop is asked to:
- add two folders to the "forest" in the left panel:
project-a/ & project-b/
- open one file for edition:
project-a/src/main.rs
All files and directories passed as arguments must be valid, existing paths.
If some files have unsaved modifications, hop will give you a warning
before quitting.
| User Input |
Action |
| Escape |
Quit hop or forest keyboard mode |
| Ctrl + Q |
Quit hop |
| User Input |
Action |
| Click |
Replace cursors with a new one |
| Drag |
Replace cursors with a selection |
| Ctrl + Click |
Add a cursor |
| Ctrl + Drag |
Add a selection |
| Ctrl + A |
Select All |
| Ctrl + D |
Auto-Select |
| Arrows |
Move all cursors |
| Ctrl + Right |
Move all cursors 10 characters ahead |
| Ctrl + Left |
Move all cursors 10 characters back |
| User Input |
Action |
| Ctrl + Z |
Undo |
| Ctrl + Y |
Redo All |
| Ctrl + X |
Cut |
| Ctrl + C |
Copy |
| Ctrl + V |
Paste |
| User Input |
Action |
| Ctrl + Down |
Scroll down one line |
| Ctrl + Up |
Scroll up one line |
| Page Down |
Scroll down one page |
| Page Up |
Scroll up one page |
| Mouse Wheel |
Scroll |
| User Input |
Action |
| Ctrl + S |
Save |
| Ctrl + F |
Find in tab |
| Shift + Page Down |
Switch to previous tab |
| Shift + Page Up |
Switch to next tab |
| Ctrl + W |
Close Tab |
| Middle Click |
Close Tab |
| User Input |
Action |
| Ctrl + O |
Reveal current file in forest mode |
| Escape or Click |
Return to normal keyboard mode |
| Enter or Space |
Open file / (un)fold directory |
| Left and Right |
Enter and Leave directories |
| Up and Down |
Navigate in forest |
| User Input |
Action |
| Ctrl + Home |
Toggle Left Panel |
| Ctrl + Shift + Home |
Resize Left Panel (using arrows) |
| Click + Drag Bar |
Resize Left Panel (using mouse) |
| Right Click File/Dir |
File/Dir context menu |