/usr/share/scvim/SCVim.scd is in supercollider-vim 1:3.8.0~repack-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | SCVim SuperCollider in the VIM editor.
created by Alex Norman, SuperCollider class created by Dan Stowell
the webpage is here: http://www.x37v.info/projects/scvim/
if you have improvements/suggestions email alex at x37v dot info
View the scvim README for installation instructions.
________________________________________________________________________________
Quick intro:
In order for syntax highlighting and class definition lookup to work you must
run:
SCVim.updateCaches;
it is best to put this in your ~/.sclang.sc file. But for now you can just
put the cursor over that line and hit F6 to send it to the language.
After you've done that you can update the syntax highlighting info by executing
the following (in vim):
runtime syntax/supercollider.vim
________________________________________________________________________________
USAGE (inside vim):
defaults (most work in both command and insert mode):
:SClangStart starts/restarts the interpreter in an xterm
(if you want to recompile the supercollider library just type :SClangStart
and you'll kill the current interpreter, start up a new one and have a
recompiled library)
:SClangKill kills the xterm/interpreter
(exiting vim also kills the interpreter)
F5 sends a whole block (looks for the outermost parens and sends that data)
F6 sends a single line (the line the cursor is currently on)
F7 calls TempoClock.default.clear;
F8 calls s.freeAll;
F12 calls thisProcess.stop; (i.e. the same as cmd-. on Mac)
in visual mode F5 and F6 both send the whole visual block
use :SChelp to get to SC help topics, or use K on a word (in command mode)
(this has tab completion)
use :SCdef to see the class definitions for an object, or use ^k (in command or normal mode)
on a word (this also has tab completion)
These key bindings can all be changed through editing your scvimrc file.
________________________________________________________________________________
HELP DOCS:
scvim uses preprocessed versions of the help files (converted to plain-text),
and to update these help files from the main files you can run the following
line in sclang (put the cursor on line and hit F6):
SCVim.updateHelpCache
|