Hacker News new | past | comments | ask | show | jobs | submit login

Is the extension language kakounescript documented somewhere ? I am having a hard time finding a reference. I wish they just used lua/js though.



Kak is mostly self-documenting, but there are a few :doc pages that give more detail. Of particular interest are the commands [0] and command parsing [1] pages. Those will get you started.

Kakscript does not have any control flow beyond a simple try/catch mechanism - for anything complex, you use shell scripting [2]. It is both a blessing and a curse - making it extremely easy to integrate with other tools, but causing some pain if you don't know shell scripting already.

[0]: https://github.com/mawww/kakoune/blob/master/doc/pages/comma...

[1]: https://github.com/mawww/kakoune/blob/master/doc/pages/comma...

[2]: https://github.com/mawww/kakoune/blob/master/doc/pages/expan...




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: