diff --git a/README.md b/README.md new file mode 100644 index 0000000..859429f --- /dev/null +++ b/README.md @@ -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) | diff --git a/src/viewer.rs b/src/viewer.rs index eef650b..2e38216 100644 --- a/src/viewer.rs +++ b/src/viewer.rs @@ -46,7 +46,6 @@ impl Render for MMViewer { .bg(rgb(0xffffff)) .justify_center() .into_any() - // .align_center() }), ) } else {