diff options
author | SoniEx2 <endermoneymod@gmail.com> | 2019-02-11 17:04:30 -0200 |
---|---|---|
committer | SoniEx2 <endermoneymod@gmail.com> | 2019-02-11 17:04:30 -0200 |
commit | 890254a4f9f973c2f72be30dbaa78b8171034d7b (patch) | |
tree | 88fc2814705b24407c9bdd514e0c9eeae7e2e520 | |
parent | 335395da7db0d655663e6d1e7238b18c806e9ed6 (diff) |
Adjust keybindings to match vim
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | main.lua | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md index 8419068..af8f521 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/main.lua b/main.lua index e14839b..dbc63b5 100644 --- a/main.lua +++ b/main.lua @@ -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) |