-
Notifications
You must be signed in to change notification settings - Fork 28
Manual installation of SuperCollider classes
Note that this method is not recommended, instead use :call scnvim#install()
and :call scnvim#uninstall()
The SuperCollider classes are located in the scide_scnvim/
directory of this repo.
This directory needs to be linked to your SuperCollider Extensions
directory (run Platform.userExtensionDir
in SuperCollider to see where it is located on your platform).
Create a symlink
(symbolic link) to the scide_scnvim
directory of the plugin like in the example below.
-
macOS
# create a symbolic link to the 'scide_scnvim' directory ln -s ~/.config/nvim/plugged/scnvim/scide_scnvim ~/Library/Application\ Support/SuperCollider/Extensions/scide_scnvim
-
Linux
It is important to use absolute paths. If
~
or$HOME
or other aliases for/home/<user>
is used the symbolic link will be "dangling" which renders a situation where sclang crashes immediately when started.# create a symbolic link to 'sc' in the 'scide_scnvim' directory named 'scnvim' ln -s /home/<USER>/.config/nvim/plugged/scnvim/scide_scnvim /home/<USER>/.local/share/SuperCollider/Extensions/scide_scnvim
If the above symlink does not work (you can tell this by opening up a SuperCollider file and running
:SCNvimStart
- if something's wrong the post window will contain errors about SC not being able to find the SCNvim class files), make sure the path to the vim plugin is correct. Depending on how you have configured nvim, it might be/home/<USER>/.vim/plugged/scnvim/scide_scnvim
.