These are chat archives for SirVer/ultisnips

20th
Jul 2016
Stanislav Seletskiy
@seletskiy
Jul 20 2016 08:20
@alejandrogallo: Hi! I'm current maintainer of US. I'm dissatisfied with honza/vim-snippets because of: a) they do not use power features of US like interpolations/contexts/preexpand-/postexpand-/jump-actions, which renders them pretty useless; b) they use use long triggers which are not necessary to type.
@alejandrogallo: So, your proposal for using class for class does not sound efficient to me. For example, I'm using snippet with auto-trigger s which covers any type declaration in Go-lang: https://cloud.githubusercontent.com/assets/8445924/8632734/a3579b5a-2797-11e5-81fd-2f515ac04f04.gif
Alejandro Gallo
@alejandrogallo
Jul 20 2016 09:01
This message was deleted
Alejandro Gallo
@alejandrogallo
Jul 20 2016 09:07
@seletskiy I just deleted the previous message. So to sum up, it sound nice to use hardcore US capabilities. Originially I was just looking for simple snippets but fully consistent across different programming languages, so that you know exactly how to kickstart a method or a main method in a random programming language (and also for markup languages, bold font, italics, paragraph etc...)
A very crude example is here
https://asciinema.org/a/1ke63r2keh289x905yltl17jz
and you can take a look to my current triggers which I intend to implement where possible for different programming languages, I already have many implemented.
https://github.com/alejandrogallo/dotfiles/blob/master/link/vim/UltiSnips/rosetta/triggers.db