pouët.net

Go to bottom

Live Coding Compo Framework

category: code [glöplog]
Vim bindings, anyone ? No ?
added on the 2018-05-15 15:26:19 by Lanza Lanza
...why?
added on the 2018-05-15 15:30:20 by Gargaj Gargaj
Because I don't know how to type without them anymore. And (hopefully :p) I'm not the only one out there...
added on the 2018-05-15 15:38:02 by Lanza Lanza
Okay so this has been a recurring thing both on Github and at other places, so it's probably worth making clear (and prolly eventually adding a CONTRIBUTING file to the repo as well)

The sole purpose of this tool is to provide an equally fair (in opportunity, not in outcome) platform upon which parties can organize competitions with. That is the entirety of the scope and the mission objective.

Many people are using this tool to learn shaders, and that's fantastic and I'm happy about that, but I'm going to push back on any modifications to this tool to accommodate things specific to that (like includes, etc), unless they enhance the competition experience for the competitors (in a fair way) and the audience. As the tool is opensource, nothing is stopping you from adding your own features, hell if you band together with others feel free to make a central "best shader editor" tool, and if other parties opt to use that one, more power to you and finally I'll have one less thing to care about.

But up until then, my job is to make sure there's always a version of the tool that's 1. bulletproof 2. standardized and 3. publicly available and agreed on by the majority is available come party time. By that logic any modification tailored to your specific taste I will push back on.
added on the 2018-05-15 15:50:00 by Gargaj Gargaj
There's a lot of "best shader editors" out there, and I do not need nor want this one to become my every day editor.

This is not my point, though, which is more : I know a lot of coders out there that uses vim (or vim modes enabled editor), and especially in a time limited coding challenge, quick & efficient text editing is real plus, not a fantasy.

The thing I don't know is if scene coders are used to vim as much as others may, (provided they're not the same guys).

I did not intend my previous post as a feature request, but as an interest check.
added on the 2018-05-15 16:46:13 by Lanza Lanza
Quote:
I know a lot of coders out there that uses vim (or vim modes enabled editor), and especially in a time limited coding challenge, quick & efficient text editing is real plus, not a fantasy.

Quote:
The sole purpose of this tool is to provide an equally fair (in opportunity, not in outcome) platform


Giving an advantage to coders used to vim is basically the opposite, I for example am not super used to vim bindings and if there'll be vim bindings I'm the first one to request sublime text bindings ...
added on the 2018-05-15 22:15:34 by LJ LJ
Again: equal in opportunity, not in outcome.
added on the 2018-05-15 23:06:54 by Gargaj Gargaj
Re: Bonzomatic

I had to change to hack around with Scintilla's KeyMap.cxx a little bit to get the option+left/right keys to work. I think the keymap was originally made for X11 or XQuartz or something where you can map something to the "meta" key, but at least my lowly old MBP only sends the "alt" modifier code for the "alt/option" key, and I couldn't figure out how to send a "meta" to Bonzomatic. So I changed the keymap to use "alt" instead so that I can now jump words with option+left/right, and shift+option+left/right.

So:

Code: #if OS_X_KEYS #define SCI_CTRL_META SCI_ALT #define SCI_SCTRL_META (SCI_ALT | SCI_SHIFT)


And remove or comment out all the "...RECTEXTEND" rows, which are weird commands anyway.

I'm sure there are any number of explanations why this was the wrong thing to do.
added on the 2018-05-16 23:33:19 by yzi yzi
...and that was about getting Bonzomatic's editor to work properly on a MacBook Pro and OSX Yosemite.
added on the 2018-05-16 23:39:55 by yzi yzi
Quote:
Vim bindings, anyone ? No ?

Quote:
I don't know how to type without them anymore. And (hopefully :p) I'm not the only one out there...


Can confirm, but I'm using inotify to live-reload modifications coming from nvim.
added on the 2018-05-17 18:15:47 by porocyon porocyon

login

Go to top