Skip to content

madskjeldgaard/vim-supercollider-snippets

Repository files navigation

[EXPERIMENTAL] vim-supercollider-snippets

snippets in action

Snippet files for SuperCollider filetypes to be used with the UltiSnips plugin.

Covers both normal supercollider files .

See :h supercollider-snippets for more info.

Experimental

This plugin is in an experimental state and not recommended for use at the moment. It has some loopback problems with the python interpolation causing python to self implode and nvim to crash from time to time.

See also

Python interpolation

The snippets make extensive use of Python interpolation to do various things.

Mostly this is used to put random values in classes every time the snippet is expanded.

For example with pattern classes always suggesting random values (that you can then choose to delete if you want to) sc snips pattern example 1

Or always initialising an Ndef with a random fruit name and random contents:

python ndef named

Requirements

Install

To install using vim-plug

  1. Add this to your init.vim / .vimrc: Plug 'madskjeldgaard/vim-supercollider-snippets'
  2. Open Vim and run the command :PlugInstall

Otherwise, follow your plugin manager's instructions.

About

Vim plugin adding snippet files for SuperCollider filetypes

Topics

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published