38 ms·
Is the extension language kakounescript documented somewhere ? I am having a hard time finding a reference. I wish they just used lua/js though.
by lf-non 5y ago
Is the extension language kakounescript documented somewhere ? I am having a hard time finding a reference. I wish they just used lua/js though.
- raiguard 5y agoKak 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/commands.asciidoc https://github.com/mawww/kakoune/blob/master/doc/pages/comma... [1]: https://github.com/mawww/kakoune/blob/master/doc/pages/command-parsing.asciidoc https://github.com/mawww/kakoune/blob/master/doc/pages/comma... [2]: https://github.com/mawww/kakoune/blob/master/doc/pages/expansions.asciidoc https://github.com/mawww/kakoune/blob/master/doc/pages/expan...