Make Navigation keys (left, down, right, up) MIDI mappable

Navigation in the pattern editor is a perfectly reasonable thing to have built-in as MIDI mappings.

Renoise could (should) arrive with such mappings, ready-to-use. So, instead of learning to “angle with lua”, let me just do it for you!

But there are plenty of starting points for learning lua scripting in Renoise.

Most importantly, how to configure Renoise for scripting is mentioned on our github page:

https://github.com/renoise/xrnx

Once you have enabled the scripting console you can evaluate code directly from there - makes it really easy to paste a few lines in and see if it works or breaks, and to consult the documentation for the whole Renoise API.

Also, this one about how to program with lua (difference from other languages):

https://forum.renoise.com/t/new-to-lua-but-not-to-programming/29196

In this particular case, I am going to work on a special lua file which defines the Renoise MIDI mappings

https://github.com/renoise/xrnx/blob/master/GlobalMidiActions.lua

Editing this file is a bit special: if you change it you will have to hit the ‘reload’ button in the MIDI mapping dialog to apply the changes.