Adjust keybindings to match vim

This commit is contained in:
SoniEx2 2019-02-11 17:04:30 -02:00
parent 335395da7d
commit 890254a4f9
2 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@ An hex-based paletted image ~~editor~~ creator.
Keys:
- up/down/left/right move cursor
- i/k/j/l move cursor
- k/j/h/l move cursor
- z decrement
- x increment
- shift+z step decrement

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)