kakoune-snippets
kakoune-snippets copied to clipboard
Snippet support for kakoune
Recent breaking change in kakoune [see 2d8456db102e13f37a5cd271868c330d73580f6d](https://github.com/mawww/kakoune/commit/2d8456db102e13f37a5cd271868c330d73580f6d) changed the behavior of space. This commit update the snippet plugin accordingly. Fix #46
Using kakoune [master](https://github.com/mawww/kakoune/commit/af89d6e05277d3ff816572856e41ed976a259707), the expand of a snippet always trigger my first snippet. ## more details I have the following configuration for kakoune snippet: ``` set-option -add global snippets_directories "%opt{plug_install_dir}/kakoune-snippet-collection/snippets"...
The use case for this would be as follows: ```latex \usepackage[possibly something]{definitely something} ``` could there be an option so that the default text of `[]` would be deleted if...
Hi, Even though it seems the development of this project has been 'abandoned' I was just wondering if a particular use-case could be dealt with by this kind of framework...
Is it working ? abandoned ?
Hello, I think most of people expect from snippet plug to have to following behavior: type `for` then press a key so the `for` expand to ``` for $X in...
I think this should go in `snippets-expand-trigger` but I'm not exactly sure as I'm still trying to make sense of the code. I set a few of my snippets to...
Should fix #8 For lack of a better idea, it's now implemented directly in the script. The auto-discard is removed as soon as insert mode is exited, or the selections...
By now I have disabled auto expansion and I've mapped `: snippets-menu/` to a key to have a fast way to open up a snippet search-and-insert menu. Could it be...
If I add this snippet for `kak` filetype: ```bash touch "^hello - (descr)" echo snippet > \^hello\ -\ \(descr\) kak test.kak ``` In `*debug*` I see: ``` shell stderr: