Adjust keybindings to match vim
This commit is contained in:
parent
335395da7d
commit
890254a4f9
|
@ -5,7 +5,7 @@ An hex-based paletted image ~~editor~~ creator.
|
||||||
Keys:
|
Keys:
|
||||||
|
|
||||||
- up/down/left/right move cursor
|
- up/down/left/right move cursor
|
||||||
- i/k/j/l move cursor
|
- k/j/h/l move cursor
|
||||||
- z decrement
|
- z decrement
|
||||||
- x increment
|
- x increment
|
||||||
- shift+z step decrement
|
- shift+z step decrement
|
||||||
|
|
6
main.lua
6
main.lua
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue