+++ date = "2024-10-13T17:15:41+00:00" lastmod = "2024-10-13T17:15:41+00:00" tags = [ "clips", "gists" ] +++ [Abbreviations](https://vimhelp.org/usr_24.txt.html#24.7) are [another](/tdro/messages/thesaurus/#tdro-messages-thesaurus) completion primitive in [Vim](https://www.vim.org/). Since it's full auto, it wants to be magical. `` presses and scripts can be replayed. Paired with [custom completions](https://vimhelp.org/insert.txt.html#complete-functions) and output from external tools, it transforms into advanced witchcraft and/or cursed sorcery. In my case, it just expands acronyms. {{< video remote=true preload="none" caption="Expand once by simulating key presses and undoing previous abbreviations." options="controls autoplay loop muted playsinline" source="https://res.cloudinary.com/dpszgzqjb/video/upload/v1728805022/editor-abbreviation-completion.mp4" poster="https://res.cloudinary.com/dpszgzqjb/image/upload/v1728805021/editor-abbreviation-completion-poster.png" >}}