Compare commits

...

2 commits

Author SHA1 Message Date
890254a4f9 Adjust keybindings to match vim 2019-02-11 17:04:30 -02:00
335395da7d Add README.md 2019-02-11 17:02:31 -02:00
2 changed files with 20 additions and 3 deletions

17
README.md Normal file
View file

@ -0,0 +1,17 @@
# HexArt
An hex-based paletted image ~~editor~~ creator.
Keys:
- up/down/left/right move cursor
- k/j/h/l move cursor
- z decrement
- x increment
- shift+z step decrement
- shift+x step increment
- a propagating increment
- s propagating decrement [NYI]
- v "visual" mode [partially implemented - not compatible with propagating modes]
- w save
- esc exit (double esc if modified)

View file

@ -293,11 +293,11 @@ function love.update(dt)
backimage:replacePixels(backimagedata) backimage:replacePixels(backimagedata)
end end
end end
ktup('i', imgup) ktup('k', imgup)
ktup('up', imgup) ktup('up', imgup)
ktup('j', imgleft) ktup('h', imgleft)
ktup('left', imgleft) ktup('left', imgleft)
ktup('k', imgdown) ktup('j', imgdown)
ktup('down', imgdown) ktup('down', imgdown)
ktup('l', imgright) ktup('l', imgright)
ktup('right', imgright) ktup('right', imgright)