feat: add README with app description and keybindings
This commit is contained in:
15
README.md
Normal file
15
README.md
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
# MM - Minimal Image Viewer
|
||||||
|
|
||||||
|
A cross platform minimal image viewer with vim-like keybindings, built using rust and gpui
|
||||||
|
|
||||||
|
|
||||||
|
### Keyboard Shortcuts
|
||||||
|
|
||||||
|
| Key | Action |
|
||||||
|
|-----|--------|
|
||||||
|
| `q` or `Escape` | Quit the application |
|
||||||
|
| `j` or `→` | Next image |
|
||||||
|
| `k` or `←` | Previous image |
|
||||||
|
| `g` | Go to first image |
|
||||||
|
| `Shift+G` | Go to last image |
|
||||||
|
| `c` | Cycle through object fit modes (Contain → Cover → Fill) |
|
||||||
@@ -46,7 +46,6 @@ impl Render for MMViewer {
|
|||||||
.bg(rgb(0xffffff))
|
.bg(rgb(0xffffff))
|
||||||
.justify_center()
|
.justify_center()
|
||||||
.into_any()
|
.into_any()
|
||||||
// .align_center()
|
|
||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user