Compare commits

...

2 Commits

Author SHA1 Message Date
SoniEx2 890254a4f9 Adjust keybindings to match vim 2019-02-11 17:04:30 -02:00
SoniEx2 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)
end
end
ktup('i', imgup)
ktup('k', imgup)
ktup('up', imgup)
ktup('j', imgleft)
ktup('h', imgleft)
ktup('left', imgleft)
ktup('k', imgdown)
ktup('j', imgdown)
ktup('down', imgdown)
ktup('l', imgright)
ktup('right', imgright)